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:
parent
1ca5a1039d
commit
0c98f6a548
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user