Browse Source

Fix Properties bar size when started minimized to tray. Closes #3206.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
6dd3795b7a
  1. 5
      src/gui/mainwindow.cpp

5
src/gui/mainwindow.cpp

@ -307,10 +307,9 @@ MainWindow::MainWindow(QWidget *parent)
raise(); raise();
} }
else if (pref->startMinimized()) { else if (pref->startMinimized()) {
if (pref->minimizeToTray())
create();
else
showMinimized(); showMinimized();
if (pref->minimizeToTray())
hide();
} }
} }
else { else {

Loading…
Cancel
Save