UI: Fix Twitch bandwidth test checkbox

master
derrod 2021-10-02 05:25:35 +02:00 committed by Rodney
parent 4fc9cfc9a2
commit 7d6b61ad8c
1 changed files with 2 additions and 1 deletions

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);