UI: Fix Twitch bandwidth test checkbox
parent
4fc9cfc9a2
commit
7d6b61ad8c
|
@ -604,6 +604,8 @@ void OBSBasicSettings::OnOAuthStreamKeyConnected()
|
||||||
ui->bandwidthTestEnable->setVisible(true);
|
ui->bandwidthTestEnable->setVisible(true);
|
||||||
ui->twitchAddonLabel->setVisible(true);
|
ui->twitchAddonLabel->setVisible(true);
|
||||||
ui->twitchAddonDropdown->setVisible(true);
|
ui->twitchAddonDropdown->setVisible(true);
|
||||||
|
} else {
|
||||||
|
ui->bandwidthTestEnable->setChecked(false);
|
||||||
}
|
}
|
||||||
#if YOUTUBE_ENABLED
|
#if YOUTUBE_ENABLED
|
||||||
if (IsYouTubeService(a->service())) {
|
if (IsYouTubeService(a->service())) {
|
||||||
|
@ -618,7 +620,6 @@ void OBSBasicSettings::OnOAuthStreamKeyConnected()
|
||||||
get_yt_ch_title(ui.get());
|
get_yt_ch_title(ui.get());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
ui->bandwidthTestEnable->setChecked(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->streamStackWidget->setCurrentIndex((int)Section::StreamKey);
|
ui->streamStackWidget->setCurrentIndex((int)Section::StreamKey);
|
||||||
|
|
Loading…
Reference in New Issue