diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 049c6911d..8afefdfcd 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -1600,7 +1600,7 @@ void MainWindow::showConnectionSettings() void MainWindow::minimizeWindow() { - setWindowState(windowState() ^ Qt::WindowMinimized); + setWindowState(windowState() | Qt::WindowMinimized); } void MainWindow::on_actionExecutionLogs_triggered(bool checked)