diff options
author | Scott <[email protected]> | 2015-11-15 20:06:34 +0000 |
---|---|---|
committer | Scott <[email protected]> | 2015-11-15 20:06:34 +0000 |
commit | 9550f669e6d939c78eee78241ce2d865490c172f (patch) | |
tree | 4c0f13e22015db6121b998da56a74ee03ef93ff1 /win/CS/HandBrakeWPF/Services | |
parent | 7aad3738d855eb4b3d03b3671fbeca9eeba49da0 (diff) |
WinGui: Fixing subtitle behavior option in the json preset factory.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs | 3 |
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)
|