UI: Fix tray icon menu handling on macOS

This commit is contained in:
PatTheMav committed 2020-11-13 17:17:45 +01:00
1 parent 84b2558995
commit 8110b8bd65
1 file changed
+2
+2
View File
@@ -7630,10 +7630,12 @@ void OBSBasic::IconActivated(QSystemTrayIcon::ActivationReason reason)
AddProjectorMenuMonitors(studioProgramProjector, this,
SLOT(OpenStudioProgramProjector()));
#ifndef __APPLE__
if (reason == QSystemTrayIcon::Trigger) {
EnablePreviewDisplay(previewEnabled && !isVisible());
ToggleShowHide();
}
#endif
}
void OBSBasic::SysTrayNotify(const QString &text,