summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index 9bacff6e..37beafe3 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -47,7 +47,7 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH)
init_shortcuts();
init_tray_menu();
- setVisible(start_in_tray());
+ setVisible(!start_in_tray());
ensure_tray();
connect(&pose_update_timer, &QTimer::timeout,