summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-06-25 11:26:39 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-06-25 11:35:27 +0200
commit4a5414975d6b9c6502488e7c0d4c5674b81c1e3a (patch)
treed8de79c75fb3033b4db2370745aefea7c0fe6616
parentFix clicking links in mobile mode (diff)
downloadnheko-4a5414975d6b9c6502488e7c0d4c5674b81c1e3a.tar.xz
fix sort by unread not getting persisted
-rw-r--r--src/UserSettingsPage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp
index 9b906555..6c0d8728 100644
--- a/src/UserSettingsPage.cpp
+++ b/src/UserSettingsPage.cpp
@@ -613,6 +613,7 @@ UserSettings::save()
         settings.setValue("mobile_mode", mobileMode_);
         settings.setValue("font_size", baseFontSize_);
         settings.setValue("typing_notifications", typingNotifications_);
+        settings.setValue("sort_by_unread", sortByImportance_);
         settings.setValue("minor_events", sortByImportance_);
         settings.setValue("read_receipts", readReceipts_);
         settings.setValue("group_view", groupView_);