summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorScott <[email protected]>2015-11-15 20:06:34 +0000
committerScott <[email protected]>2015-11-15 20:06:34 +0000
commit9550f669e6d939c78eee78241ce2d865490c172f (patch)
tree4c0f13e22015db6121b998da56a74ee03ef93ff1 /win
parent7aad3738d855eb4b3d03b3671fbeca9eeba49da0 (diff)
WinGui: Fixing subtitle behavior option in the json preset factory.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs3
1 files changed, 1 insertions, 2 deletions
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<SubtitleBehaviourModes>.GetValue(importedPreset.SubtitleTrackSelectionBehavior);
preset.SubtitleTrackBehaviours.AddClosedCaptions = importedPreset.SubtitleAddCC;
preset.SubtitleTrackBehaviours.AddForeignAudioScanTrack = importedPreset.SubtitleAddForeignAudioSearch;
if (importedPreset.SubtitleLanguageList != null)