fix(GODT-2967): tray menu entries close the setup wizard when needed.

This commit is contained in:
Xavier Michelon 2023-09-27 18:23:02 +02:00
parent 50acc0dcfb
commit bb67d95669
1 changed files with 10 additions and 0 deletions

View File

@ -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();
}