UI: Fix preview disabled in studio mode
If OBS is set to minimize to system tray on startup and studio mode is enabled, the preview would be disabled when showing OBS, if the preview in non studio mode was disabled.
This commit is contained in:
parent
a0a23e8a18
commit
6e22af932d
1 changed files with 4 additions and 0 deletions
|
|
@ -1941,6 +1941,10 @@ void OBSBasic::OBSInit()
|
|||
QMetaObject::invokeMethod(this, "EnablePreviewDisplay",
|
||||
Qt::QueuedConnection,
|
||||
Q_ARG(bool, previewEnabled));
|
||||
else if (!previewEnabled && IsPreviewProgramMode())
|
||||
QMetaObject::invokeMethod(this, "EnablePreviewDisplay",
|
||||
Qt::QueuedConnection,
|
||||
Q_ARG(bool, true));
|
||||
|
||||
RefreshSceneCollections();
|
||||
RefreshProfiles();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue