Skip to content
Snippets Groups Projects
Commit a3a2e611 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

main application: prevent wizard popup prior to main window load

- prevents the wizard window from popping up if the systray icon
  is clicked to restore the application just prior to the main
  window having loaded

Change-Id: I79b7981de77017117cf6e08ff4b0e1f6687635d3
parent 981db871
Branches
Tags
No related merge requests found
......@@ -38,7 +38,7 @@ ApplicationWindow {
if (mainViewLoader.item)
mainViewLoader.item.hide()
else
wizardView.hide()
Qt.quit()
}
}
......@@ -144,8 +144,8 @@ ApplicationWindow {
}
function onRestoreAppRequested() {
var window = mainViewLoader.item ? mainViewLoader.item : wizardView
restore(window)
if (mainViewLoader.item)
restore(mainViewLoader.item)
}
function onNotificationClicked(forceToTop) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment