summaryrefslogtreecommitdiff
path: root/gui/qml/main.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-06-22 13:05:44 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-06-22 18:04:45 +0200
commit326dc2449a69c9ea97cb5c2936807e9045dc1aa7 (patch)
treeadfaa1ab91feb92e04d52c57a7539888df2c8a2f /gui/qml/main.qml
parentcb8b0bda57378ba77b5e3c5d4b7f0754af7a8658 (diff)
[feat] show controls window if no available systray
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r--gui/qml/main.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 91e3b4e..e0a9a81 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -276,9 +276,10 @@ ApplicationWindow {
loginDone = false
allowEmptyPass = Logic.shouldAllowEmptyPass(providers)
needsRestart = false;
- /* TODO get appVisible flag from backend */
- //app.visible = true
- //app.raise()
+ if (!systrayAvailable) {
+ app.visible = true
+ app.raise()
+ }
}