UI: Fix tray icon menu handling on macOS
This commit is contained in:
parent
84b2558995
commit
8110b8bd65
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user