From: sr55 Date: Sat, 2 Dec 2017 15:08:44 +0000 (+0000) Subject: WinGui: Uncheck the Forced flag when it's not supported. #1035 X-Git-Tag: 1.1.0~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab50d609d8001c7af9f8e242a170bb424b080f41;p=handbrake WinGui: Uncheck the Forced flag when it's not supported. #1035 --- diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs index fe62a5a23..d29709310 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs @@ -175,6 +175,16 @@ namespace HandBrakeWPF.Services.Encode.Model.Models this.NotifyOfPropertyChange(() => this.CanBeBurned); this.NotifyOfPropertyChange(() => this.CanBeForced); + + if (this.Forced && !this.CanBeForced) + { + this.Forced = false; + } + + if (this.Burned && !this.CanBeBurned) + { + this.Forced = false; + } } }