Keep original window size when restoring from system tray

This commit is contained in:
Jonas Kvinge 2019-08-23 20:43:58 +02:00
parent 0105a53765
commit 1fbb1b1524
1 changed files with 1 additions and 1 deletions

View File

@ -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 {