1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-12 19:45:23 +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)
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) {