]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix an issue with the Subtitle Burn In Behavior dropdown not being selected...
authorScott <sr55.hb@outlook.com>
Mon, 14 Dec 2015 20:11:58 +0000 (20:11 +0000)
committerScott <sr55.hb@outlook.com>
Mon, 14 Dec 2015 20:12:29 +0000 (20:12 +0000)
win/CS/HandBrakeWPF/Converters/Subtitles/SubtitleBurnInBehaviourConverter.cs

index af706b4c0547c20823e624ffad92eac46e01c92d..14cd9eecec02bddeaaf8e89d2437a6ca14c8fe9f 100644 (file)
@@ -15,8 +15,6 @@ namespace HandBrakeWPF.Converters.Subtitles
     using System.Linq;\r
     using System.Windows.Data;\r
 \r
-    using HandBrake.ApplicationServices.Utilities;\r
-\r
     using HandBrakeWPF.Model.Subtitles;\r
     using HandBrakeWPF.Utilities;\r
 \r
@@ -52,7 +50,7 @@ namespace HandBrakeWPF.Converters.Subtitles
                         EnumHelper<SubtitleBurnInBehaviourModes>.GetEnumDisplayValues(typeof(SubtitleBurnInBehaviourModes)).ToList());\r
             }\r
 \r
-            if (value != null && value.GetType() == typeof(SubtitleBehaviourModes))\r
+            if (value != null && value.GetType() == typeof(SubtitleBurnInBehaviourModes))\r
             {\r
                 return EnumHelper<SubtitleBurnInBehaviourModes>.GetDisplay((SubtitleBurnInBehaviourModes)value);\r
             }\r