Bläddra i källkod

Merge pull request #1869 from cg2121/fix-systray

UI: Fix system tray not working
Jim 6 år sedan
förälder
incheckning
b5c20fb924
1 ändrade filer med 1 tillägg och 1 borttagningar
  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(),