diff --git a/UI/window-youtube-actions.cpp b/UI/window-youtube-actions.cpp index d9a52b951..4b3e5bcb3 100644 --- a/UI/window-youtube-actions.cpp +++ b/UI/window-youtube-actions.cpp @@ -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) {