UI: Fix Twitch bandwidth test checkbox

This commit is contained in:
derrod
2021-10-02 05:42:59 +02:00
committed by Rodney
parent 4fc9cfc9a2
commit 7d6b61ad8c
+2 -1
View File
@@ -604,6 +604,8 @@ void OBSBasicSettings::OnOAuthStreamKeyConnected()
ui->bandwidthTestEnable->setVisible(true);
ui->twitchAddonLabel->setVisible(true);
ui->twitchAddonDropdown->setVisible(true);
} else {
ui->bandwidthTestEnable->setChecked(false);
}
#if YOUTUBE_ENABLED
if (IsYouTubeService(a->service())) {
@@ -618,7 +620,6 @@ void OBSBasicSettings::OnOAuthStreamKeyConnected()
get_yt_ch_title(ui.get());
}
#endif
ui->bandwidthTestEnable->setChecked(false);
}
ui->streamStackWidget->setCurrentIndex((int)Section::StreamKey);