Browse Source

Merge pull request #1869 from cg2121/fix-systray

UI: Fix system tray not working
Jim 6 years ago
parent
commit
b5c20fb924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-basic-main.cpp

+ 1 - 1
UI/window-basic-main.cpp

@@ -6841,7 +6841,7 @@ void OBSBasic::SystemTray(bool firstStarted)
 {
 	if (!QSystemTrayIcon::isSystemTrayAvailable())
 		return;
-	if (!trayIcon)
+	if (!trayIcon && !firstStarted)
 		return;
 
 	bool sysTrayWhenStarted = config_get_bool(GetGlobalConfig(),