diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-02 12:36:33 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-02 12:36:33 +0200 |
commit | 683a24d2aaaddbc9b8fab87a29361028949ac0ef (patch) | |
tree | d0122e6a06d09519c192f4227c8271c7265114fc /src/UserSettingsPage.cpp | |
parent | Update translations (diff) | |
download | nheko-683a24d2aaaddbc9b8fab87a29361028949ac0ef.tar.xz |
Fix community sidebar toggle
Diffstat (limited to 'src/UserSettingsPage.cpp')
-rw-r--r-- | src/UserSettingsPage.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp index 6c0d8728..740b8979 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp @@ -179,10 +179,11 @@ UserSettings::setMobileMode(bool state) void UserSettings::setGroupView(bool state) { - if (groupView_ != state) - emit groupViewStateChanged(state); + if (groupView_ == state) + return; groupView_ = state; + emit groupViewStateChanged(state); save(); } |