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:
parent
981db87129
commit
a3a2e611f9
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue