From: Scott Date: Mon, 14 Dec 2015 20:11:58 +0000 (+0000) Subject: WinGui: Fix an issue with the Subtitle Burn In Behavior dropdown not being selected... X-Git-Tag: 1.0.0~739 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cfc84b6024a137959b3f21287f6b6dce0a144f3;p=handbrake WinGui: Fix an issue with the Subtitle Burn In Behavior dropdown not being selected correctly on preset change and first load. --- diff --git a/win/CS/HandBrakeWPF/Converters/Subtitles/SubtitleBurnInBehaviourConverter.cs b/win/CS/HandBrakeWPF/Converters/Subtitles/SubtitleBurnInBehaviourConverter.cs index af706b4c0..14cd9eece 100644 --- a/win/CS/HandBrakeWPF/Converters/Subtitles/SubtitleBurnInBehaviourConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Subtitles/SubtitleBurnInBehaviourConverter.cs @@ -15,8 +15,6 @@ namespace HandBrakeWPF.Converters.Subtitles using System.Linq; using System.Windows.Data; - using HandBrake.ApplicationServices.Utilities; - using HandBrakeWPF.Model.Subtitles; using HandBrakeWPF.Utilities; @@ -52,7 +50,7 @@ namespace HandBrakeWPF.Converters.Subtitles EnumHelper.GetEnumDisplayValues(typeof(SubtitleBurnInBehaviourModes)).ToList()); } - if (value != null && value.GetType() == typeof(SubtitleBehaviourModes)) + if (value != null && value.GetType() == typeof(SubtitleBurnInBehaviourModes)) { return EnumHelper.GetDisplay((SubtitleBurnInBehaviourModes)value); }