diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 1ac9f7606..6801ba5c6 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -1712,6 +1712,15 @@ void OBSBasic::OBSInit() editPropertiesMode = config_get_bool( App()->GlobalConfig(), "BasicWindow", "EditPropertiesMode"); + if (!opt_studio_mode) { + SetPreviewProgramMode(config_get_bool(App()->GlobalConfig(), + "BasicWindow", + "PreviewProgramMode")); + } else { + SetPreviewProgramMode(true); + opt_studio_mode = false; + } + #define SET_VISIBILITY(name, control) \ do { \ if (config_has_user_value(App()->GlobalConfig(), \ @@ -1898,15 +1907,6 @@ void OBSBasic::OBSInit() ui->sources->UpdateIcons(); - if (!opt_studio_mode) { - SetPreviewProgramMode(config_get_bool(App()->GlobalConfig(), - "BasicWindow", - "PreviewProgramMode")); - } else { - SetPreviewProgramMode(true); - opt_studio_mode = false; - } - #if !defined(_WIN32) && !defined(__APPLE__) delete ui->actionShowCrashLogs; delete ui->actionUploadLastCrashLog;