From ed1bf01306a638ad6a7092505ff59011e70508dd Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Fri, 14 Mar 2025 11:18:54 -0400 Subject: [PATCH] fix: log Resize update the timer to 15ms --- src/apps/deskflow-gui/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/deskflow-gui/MainWindow.cpp b/src/apps/deskflow-gui/MainWindow.cpp index a2faebffa..848aca101 100644 --- a/src/apps/deskflow-gui/MainWindow.cpp +++ b/src/apps/deskflow-gui/MainWindow.cpp @@ -363,8 +363,8 @@ void MainWindow::toggleLogVisible(bool visible) } ui->textLog->setVisible(visible); Settings::setValue(Settings::Gui::LogExpanded, visible); - // 1 ms delay is to make sure we have left the function before calling updateSize - QTimer::singleShot(1, this, &MainWindow::updateSize); + // 15 ms delay is to make sure we have left the function before calling updateSize + QTimer::singleShot(15, this, &MainWindow::updateSize); } void MainWindow::firstShown()