UI: Fix tray icon menu handling on macOS
This commit is contained in:
parent
84b2558995
commit
8110b8bd65
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue