1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(ui): switch to settings after multiple windows mode

Switch back to settings after disabling multiple windows mode instead of switch to add friend page.
This commit is contained in:
ezavod 2017-05-14 19:13:30 +02:00
parent 1ca5a1039d
commit 0c98f6a548
No known key found for this signature in database
GPG Key ID: 5DFDD9A0D8E5A9B6

View File

@ -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;