diff options
author | sr55 <[email protected]> | 2011-05-25 17:52:20 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-05-25 17:52:20 +0000 |
commit | c81154f023af608a50e01ccd8eb312d4d98a85ba (patch) | |
tree | 33fa901b9d6c32ab8414c77a3c0df1f19667e65d /win/CS | |
parent | 74b8080af6720f7e9befa4234d9fe0d979b39f2f (diff) |
WinGui: Fix the option to always automatically add closed closed captions to the subtitles output.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3999 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/Controls/Subtitles.cs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/win/CS/Controls/Subtitles.cs b/win/CS/Controls/Subtitles.cs index c23b0e418..63c3afbe2 100644 --- a/win/CS/Controls/Subtitles.cs +++ b/win/CS/Controls/Subtitles.cs @@ -203,17 +203,18 @@ namespace Handbrake.Controls BtnAddSubTrackClick(this, new EventArgs());
}
}
+ }
+ }
+
- if (drp_subtitleTracks.SelectedIndex == 0 && Properties.Settings.Default.useClosedCaption)
+ if (Properties.Settings.Default.useClosedCaption)
+ {
+ foreach (object item in drp_subtitleTracks.Items)
+ {
+ if (item.ToString().Contains("Closed"))
{
- foreach (object item in drp_subtitleTracks.Items)
- {
- if (item.ToString().Contains("Closed"))
- {
- drp_subtitleTracks.SelectedItem = item;
- BtnAddSubTrackClick(this, new EventArgs());
- }
- }
+ drp_subtitleTracks.SelectedItem = item;
+ BtnAddSubTrackClick(this, new EventArgs());
}
}
}
|