Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(ui): switch to settings after multiple windows mode
Browse files Browse the repository at this point in the history
Switch back to settings after disabling multiple windows mode instead of switch to add friend page.
  • Loading branch information
ezavod committed May 14, 2017
1 parent 1ca5a10 commit 0c98f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ void Widget::onSeparateWindowChanged(bool separate, bool clicked)
SplitterRestorer restorer(ui->mainSplitter);
restorer.restore(Settings::getInstance().getSplitterState(), size());

onAddClicked();
onShowSettings();
} else {
int width = ui->friendList->size().width();
QSize size;
Expand Down

0 comments on commit 0c98f6a

Please sign in to comment.