Skip to content

Commit

Permalink
Keep original window size when restoring from system tray
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Aug 23, 2019
1 parent 0105a53 commit 1fbb1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/mainwindow.cpp
Expand Up @@ -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 {
Expand Down

0 comments on commit 1fbb1b1

Please sign in to comment.