1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-21 23:33:58 +02:00

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
This commit is contained in:
Andreas Traczyk 2020-10-08 14:19:05 -04:00
parent 981db87129
commit a3a2e611f9

View file

@ -38,7 +38,7 @@ ApplicationWindow {
if (mainViewLoader.item) if (mainViewLoader.item)
mainViewLoader.item.hide() mainViewLoader.item.hide()
else else
wizardView.hide() Qt.quit()
} }
} }
@ -144,8 +144,8 @@ ApplicationWindow {
} }
function onRestoreAppRequested() { function onRestoreAppRequested() {
var window = mainViewLoader.item ? mainViewLoader.item : wizardView if (mainViewLoader.item)
restore(window) restore(mainViewLoader.item)
} }
function onNotificationClicked(forceToTop) { function onNotificationClicked(forceToTop) {