fix: Wayland Prompt starts under MainWindow
This commit is contained in:
parent
86ee88d17d
commit
df089dab53
1 changed files with 7 additions and 6 deletions
|
|
@ -587,13 +587,8 @@ void MainWindow::open()
|
|||
trayActions.append(nullptr);
|
||||
trayActions.append(actionTrayQuit);
|
||||
#endif
|
||||
m_TrayIcon.create(trayActions);
|
||||
|
||||
if (m_AppConfig.autoHide()) {
|
||||
hide();
|
||||
} else {
|
||||
showAndActivate();
|
||||
}
|
||||
m_TrayIcon.create(trayActions);
|
||||
|
||||
if (!m_AppConfig.enableUpdateCheck().has_value()) {
|
||||
m_AppConfig.setEnableUpdateCheck(messages::showUpdateCheckOption(this));
|
||||
|
|
@ -609,6 +604,12 @@ void MainWindow::open()
|
|||
if (m_AppConfig.startedBefore()) {
|
||||
m_CoreProcess.start();
|
||||
}
|
||||
|
||||
if (m_AppConfig.autoHide()) {
|
||||
hide();
|
||||
} else {
|
||||
showAndActivate();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::onCoreProcessStarting()
|
||||
|
|
|
|||
Loading…
Reference in a new issue