Skip to content

Commit

Permalink
WinGui: Fixing subtitle behavior option in the json preset factory.
Browse files Browse the repository at this point in the history
  • Loading branch information
sr55 committed Nov 15, 2015
1 parent 7aad373 commit 9550f66
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ public static Preset ImportPreset(HBPreset importedPreset)

/* 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)
Expand Down

0 comments on commit 9550f66

Please sign in to comment.