summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott <[email protected]>2015-12-14 20:11:58 +0000
committerScott <[email protected]>2015-12-14 20:12:29 +0000
commit5cfc84b6024a137959b3f21287f6b6dce0a144f3 (patch)
tree61fe91a12457de6bcacc99148325b380638a8ecb
parentcd2eb1c2b13d15dd58842d8eabea978075979554 (diff)
WinGui: Fix an issue with the Subtitle Burn In Behavior dropdown not being selected correctly on preset change and first load.
-rw-r--r--win/CS/HandBrakeWPF/Converters/Subtitles/SubtitleBurnInBehaviourConverter.cs4
1 files changed, 1 insertions, 3 deletions
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<SubtitleBurnInBehaviourModes>.GetEnumDisplayValues(typeof(SubtitleBurnInBehaviourModes)).ToList());
}
- if (value != null && value.GetType() == typeof(SubtitleBehaviourModes))
+ if (value != null && value.GetType() == typeof(SubtitleBurnInBehaviourModes))
{
return EnumHelper<SubtitleBurnInBehaviourModes>.GetDisplay((SubtitleBurnInBehaviourModes)value);
}