]> granicus.if.org Git - handbrake/commitdiff
WinGui: Uncheck the Forced flag when it's not supported. #1035
authorsr55 <sr55.hb@outlook.com>
Sat, 2 Dec 2017 15:08:44 +0000 (15:08 +0000)
committersr55 <sr55.hb@outlook.com>
Sat, 2 Dec 2017 16:44:54 +0000 (16:44 +0000)
win/CS/HandBrakeWPF/Services/Encode/Model/Models/SubtitleTrack.cs

index fe62a5a23d0ca9ed5e08b62295c31c2e231640e1..d297093108312e8be4a1294d24bf2efd7b19146d 100644 (file)
@@ -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;
+                }
             }
         }