|
@@ -325,6 +325,7 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
|
|
HookWidget(ui->overflowSelectionHide,CHECK_CHANGED, GENERAL_CHANGED);
|
|
HookWidget(ui->overflowSelectionHide,CHECK_CHANGED, GENERAL_CHANGED);
|
|
|
HookWidget(ui->doubleClickSwitch, CHECK_CHANGED, GENERAL_CHANGED);
|
|
HookWidget(ui->doubleClickSwitch, CHECK_CHANGED, GENERAL_CHANGED);
|
|
|
HookWidget(ui->studioPortraitLayout, CHECK_CHANGED, GENERAL_CHANGED);
|
|
HookWidget(ui->studioPortraitLayout, CHECK_CHANGED, GENERAL_CHANGED);
|
|
|
|
|
+ HookWidget(ui->prevProgLabelToggle, CHECK_CHANGED, GENERAL_CHANGED);
|
|
|
HookWidget(ui->multiviewMouseSwitch, CHECK_CHANGED, GENERAL_CHANGED);
|
|
HookWidget(ui->multiviewMouseSwitch, CHECK_CHANGED, GENERAL_CHANGED);
|
|
|
HookWidget(ui->multiviewDrawNames, CHECK_CHANGED, GENERAL_CHANGED);
|
|
HookWidget(ui->multiviewDrawNames, CHECK_CHANGED, GENERAL_CHANGED);
|
|
|
HookWidget(ui->multiviewDrawAreas, CHECK_CHANGED, GENERAL_CHANGED);
|
|
HookWidget(ui->multiviewDrawAreas, CHECK_CHANGED, GENERAL_CHANGED);
|
|
@@ -1120,6 +1121,10 @@ void OBSBasicSettings::LoadGeneralSettings()
|
|
|
"BasicWindow", "StudioPortraitLayout");
|
|
"BasicWindow", "StudioPortraitLayout");
|
|
|
ui->studioPortraitLayout->setChecked(studioPortraitLayout);
|
|
ui->studioPortraitLayout->setChecked(studioPortraitLayout);
|
|
|
|
|
|
|
|
|
|
+ bool prevProgLabels = config_get_bool(GetGlobalConfig(),
|
|
|
|
|
+ "BasicWindow", "StudioModeLabels");
|
|
|
|
|
+ ui->prevProgLabelToggle->setChecked(prevProgLabels);
|
|
|
|
|
+
|
|
|
bool multiviewMouseSwitch = config_get_bool(GetGlobalConfig(),
|
|
bool multiviewMouseSwitch = config_get_bool(GetGlobalConfig(),
|
|
|
"BasicWindow", "MultiviewMouseSwitch");
|
|
"BasicWindow", "MultiviewMouseSwitch");
|
|
|
ui->multiviewMouseSwitch->setChecked(multiviewMouseSwitch);
|
|
ui->multiviewMouseSwitch->setChecked(multiviewMouseSwitch);
|
|
@@ -2767,6 +2772,14 @@ void OBSBasicSettings::SaveGeneralSettings()
|
|
|
main->ResetUI();
|
|
main->ResetUI();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if (WidgetChanged(ui->prevProgLabelToggle)) {
|
|
|
|
|
+ config_set_bool(GetGlobalConfig(), "BasicWindow",
|
|
|
|
|
+ "StudioModeLabels",
|
|
|
|
|
+ ui->prevProgLabelToggle->isChecked());
|
|
|
|
|
+
|
|
|
|
|
+ main->ResetUI();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
bool multiviewChanged = false;
|
|
bool multiviewChanged = false;
|
|
|
if (WidgetChanged(ui->multiviewMouseSwitch)) {
|
|
if (WidgetChanged(ui->multiviewMouseSwitch)) {
|
|
|
config_set_bool(GetGlobalConfig(), "BasicWindow",
|
|
config_set_bool(GetGlobalConfig(), "BasicWindow",
|