fix(GODT-2967): tray menu entries close the setup wizard when needed.
This commit is contained in:
parent
50acc0dcfb
commit
bb67d95669
|
@ -106,18 +106,28 @@ ApplicationWindow {
|
|||
Connections {
|
||||
function onSelectUser(userID, forceShowWindow) {
|
||||
contentWrapper.selectUser(userID);
|
||||
if (setupWizard.visible) {
|
||||
setupWizard.closeWizard()
|
||||
}
|
||||
if (forceShowWindow) {
|
||||
root.showAndRise();
|
||||
}
|
||||
}
|
||||
function onShowHelp() {
|
||||
root.showHelp();
|
||||
if (setupWizard.visible) {
|
||||
setupWizard.closeWizard()
|
||||
}
|
||||
|
||||
root.showAndRise();
|
||||
}
|
||||
function onShowMainWindow() {
|
||||
root.showAndRise();
|
||||
}
|
||||
function onShowSettings() {
|
||||
if (setupWizard.visible) {
|
||||
setupWizard.closeWizard()
|
||||
}
|
||||
root.showSettings();
|
||||
root.showAndRise();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue