mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
fix(GODT-2967): tray menu entries close the setup wizard when needed.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user