Keep original window size when restoring from system tray
This commit is contained in:
parent
0105a53765
commit
1fbb1b1524
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue