UI: Auto update projector settings
This commit is contained in:
parent
05c9ddd229
commit
777d9eb787
5 changed files with 32 additions and 5 deletions
|
|
@ -2900,11 +2900,20 @@ void OBSBasicSettings::SaveGeneralSettings()
|
|||
"WarnBeforeStoppingRecord",
|
||||
ui->warnBeforeRecordStop->isChecked());
|
||||
|
||||
config_set_bool(GetGlobalConfig(), "BasicWindow", "HideProjectorCursor",
|
||||
ui->hideProjectorCursor->isChecked());
|
||||
config_set_bool(GetGlobalConfig(), "BasicWindow",
|
||||
"ProjectorAlwaysOnTop",
|
||||
if (WidgetChanged(ui->hideProjectorCursor)) {
|
||||
config_set_bool(GetGlobalConfig(), "BasicWindow",
|
||||
"HideProjectorCursor",
|
||||
ui->hideProjectorCursor->isChecked());
|
||||
main->UpdateProjectorHideCursor();
|
||||
}
|
||||
|
||||
if (WidgetChanged(ui->projectorAlwaysOnTop)) {
|
||||
config_set_bool(GetGlobalConfig(), "BasicWindow",
|
||||
"ProjectorAlwaysOnTop",
|
||||
ui->projectorAlwaysOnTop->isChecked());
|
||||
main->UpdateProjectorAlwaysOnTop(
|
||||
ui->projectorAlwaysOnTop->isChecked());
|
||||
}
|
||||
|
||||
if (WidgetChanged(ui->recordWhenStreaming))
|
||||
config_set_bool(GetGlobalConfig(), "BasicWindow",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue