Skip to content
Permalink
Browse files

Keep original window size when restoring from system tray

  • Loading branch information...
jonaski committed Aug 23, 2019
1 parent 0105a53 commit 1fbb1b1524a4b2d27305af6f3857108888740453
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit 1fbb1b1

Please sign in to comment.
You can’t perform that action at this time.