UI: Fix loading auto start/stop setting in YT dialog
The checkboxes need to be enabled for setting the checked state to succeed.
This commit is contained in:
parent
5c9aa83e05
commit
7f2efbdb28
@ -704,6 +704,10 @@ void OBSYoutubeActions::LoadSettings()
|
||||
else
|
||||
ui->notMakeForKids->setChecked(true);
|
||||
|
||||
bool schedLater = config_get_bool(main->basicConfig, "YouTube",
|
||||
"ScheduleForLater");
|
||||
ui->checkScheduledLater->setChecked(schedLater);
|
||||
|
||||
bool autoStart =
|
||||
config_get_bool(main->basicConfig, "YouTube", "AutoStart");
|
||||
ui->checkAutoStart->setChecked(autoStart);
|
||||
@ -712,10 +716,6 @@ void OBSYoutubeActions::LoadSettings()
|
||||
config_get_bool(main->basicConfig, "YouTube", "AutoStop");
|
||||
ui->checkAutoStop->setChecked(autoStop);
|
||||
|
||||
bool schedLater = config_get_bool(main->basicConfig, "YouTube",
|
||||
"ScheduleForLater");
|
||||
ui->checkScheduledLater->setChecked(schedLater);
|
||||
|
||||
const char *projection =
|
||||
config_get_string(main->basicConfig, "YouTube", "Projection");
|
||||
if (projection && *projection) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user