fix: log Resize update the timer to 15ms
This commit is contained in:
parent
80f814a2da
commit
ed1bf01306
1 changed files with 2 additions and 2 deletions
|
|
@ -363,8 +363,8 @@ void MainWindow::toggleLogVisible(bool visible)
|
||||||
}
|
}
|
||||||
ui->textLog->setVisible(visible);
|
ui->textLog->setVisible(visible);
|
||||||
Settings::setValue(Settings::Gui::LogExpanded, visible);
|
Settings::setValue(Settings::Gui::LogExpanded, visible);
|
||||||
// 1 ms delay is to make sure we have left the function before calling updateSize
|
// 15 ms delay is to make sure we have left the function before calling updateSize
|
||||||
QTimer::singleShot(1, this, &MainWindow::updateSize);
|
QTimer::singleShot(15, this, &MainWindow::updateSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::firstShown()
|
void MainWindow::firstShown()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue