mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-26 01:10:38 -04:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user