UI: Allow enabling vod track on custom via ini
This commit is contained in:
parent
eac66d773c
commit
7a17f47d8a
2 changed files with 12 additions and 2 deletions
|
|
@ -619,9 +619,14 @@ void OBSBasicSettings::on_useAuth_toggled()
|
|||
|
||||
void OBSBasicSettings::UpdateVodTrackSetting()
|
||||
{
|
||||
bool enableForCustomServer = config_get_bool(
|
||||
GetGlobalConfig(), "General", "EnableCustomServerVodTrack");
|
||||
bool enableVodTrack = ui->service->currentText() == "Twitch";
|
||||
bool wasEnabled = !!vodTrackCheckbox;
|
||||
|
||||
if (enableForCustomServer && IsCustomService())
|
||||
enableVodTrack = true;
|
||||
|
||||
if (enableVodTrack == wasEnabled)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue