mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4424
ezavod (1): fix(ui): do not save splitter state in multiple windows mode
This commit is contained in:
commit
46c848c07f
|
@ -2000,7 +2000,9 @@ void Widget::saveWindowGeometry()
|
|||
|
||||
void Widget::saveSplitterGeometry()
|
||||
{
|
||||
Settings::getInstance().setSplitterState(ui->mainSplitter->saveState());
|
||||
if (!Settings::getInstance().getSeparateWindow()) {
|
||||
Settings::getInstance().setSplitterState(ui->mainSplitter->saveState());
|
||||
}
|
||||
}
|
||||
|
||||
void Widget::onSplitterMoved(int pos, int index)
|
||||
|
|
Loading…
Reference in New Issue
Block a user