From 9550f669e6d939c78eee78241ce2d865490c172f Mon Sep 17 00:00:00 2001 From: Scott Date: Sun, 15 Nov 2015 20:06:34 +0000 Subject: WinGui: Fixing subtitle behavior option in the json preset factory. --- win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'win/CS/HandBrakeWPF/Services') diff --git a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs index 453ed39e7..65e51c2c1 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs @@ -358,8 +358,7 @@ namespace HandBrakeWPF.Services.Presets.Factories /* Subtitle Settings */ preset.SubtitleTrackBehaviours = new SubtitleBehaviours(); - - // parsedPreset.SubtitleTrackBehaviours.SelectedBehaviour = preset.SubtitleTrackSelectionBehavior; + preset.SubtitleTrackBehaviours.SelectedBehaviour = EnumHelper.GetValue(importedPreset.SubtitleTrackSelectionBehavior); preset.SubtitleTrackBehaviours.AddClosedCaptions = importedPreset.SubtitleAddCC; preset.SubtitleTrackBehaviours.AddForeignAudioScanTrack = importedPreset.SubtitleAddForeignAudioSearch; if (importedPreset.SubtitleLanguageList != null) -- cgit v1.2.3