From 1fbb1b1524a4b2d27305af6f3857108888740453 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 23 Aug 2019 20:43:58 +0200 Subject: [PATCH] Keep original window size when restoring from system tray --- src/core/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mainwindow.cpp b/src/core/mainwindow.cpp index f0ddcf6ba..7fa24e6b0 100644 --- a/src/core/mainwindow.cpp +++ b/src/core/mainwindow.cpp @@ -1337,7 +1337,7 @@ void MainWindow::SetHiddenInTray(bool hidden) { // Some window managers don't remember maximized state between calls to hide() and show(), so we have to remember it ourself. if (hidden) { - //was_maximized_ = isMaximized(); + was_maximized_ = isMaximized(); hide(); } else {