summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-12-02 15:08:44 +0000
committersr55 <[email protected]>2017-12-02 16:44:54 +0000
commitab50d609d8001c7af9f8e242a170bb424b080f41 (patch)
tree9dbc8004833e80162c55a5945e095b817f313e27 /win
parent7b461c45619d5cc80632f8101035d12e6a0fe942 (diff)
WinGui: Uncheck the Forced flag when it's not supported. #1035
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs10
1 files changed, 10 insertions, 0 deletions
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;
+ }
}
}