Fix minimized start.

This commit is contained in:
John Preston 2022-06-08 14:32:42 +04:00
parent 176f3ea15c
commit 7828288660
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ void MainWindow::applyInitialWorkMode() {
DEBUG_LOG(("Window Pos: First show, setting maximized."));
setWindowState(Qt::WindowMaximized);
}
if (!cStartInTray()
if (cStartInTray()
|| (cLaunchMode() == LaunchModeAutoStart
&& cStartMinimized()
&& !Core::App().passcodeLocked())) {