UI: Restore auth reset when switching services

Fixes #5236
This commit is contained in:
derrod 2021-09-04 06:44:55 +02:00 committed by Jim
parent 79e21eaea3
commit d5f3ddabd1

View File

@ -470,6 +470,8 @@ void OBSBasicSettings::on_service_currentIndexChanged(int)
ui->serverStackedWidget->setCurrentIndex(0);
}
auth.reset();
if (!main->auth) {
return;
}
@ -482,7 +484,6 @@ void OBSBasicSettings::on_service_currentIndexChanged(int)
IsYouTubeService(service);
#endif
if (service_check) {
auth.reset();
auth = main->auth;
OnAuthConnected();
}