diff options
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r-- | gui/qml/main.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml index 2ac9398..b4aa19a 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -80,7 +80,7 @@ ApplicationWindow { SystemTrayIcon { id: systray - visible: true + visible: systrayVisible onActivated: { // this looks like a widget bug. middle click (reasons 3 or 4) @@ -105,7 +105,9 @@ ApplicationWindow { tooltip = qsTr("Checking status...") console.debug("systray init completed") hide(); - show(); + if (systrayVisible) { + show(); + } } menu: Menu { |