Fix community sidebar toggle
This commit is contained in:
parent
d2ba0b6603
commit
683a24d2aa
2 changed files with 5 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue