summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-20 18:08:41 +0000
committersr55 <[email protected]>2010-02-20 18:08:41 +0000
commitb9d00019295781bed79eca280bac798b7bb7c64f (patch)
tree341aac9ec87d84d71be18a42afe0ee52ef497d3f /win/C#/Controls
parente5d5bc94b2217a9eb65857d83d31138d126947e4 (diff)
WinGui:
- Tied Microsoft StyleCop into the build process. - Included a settings file for StyleCop so anyone who picks up the project can use the global project settings. - Started Clearing up Warnings generated by stylecop. - Also included Resharper 5 config files that users can use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3129 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls')
-rw-r--r--win/C#/Controls/Subtitles.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/C#/Controls/Subtitles.cs b/win/C#/Controls/Subtitles.cs
index 45a21475f..34e2cddf3 100644
--- a/win/C#/Controls/Subtitles.cs
+++ b/win/C#/Controls/Subtitles.cs
@@ -311,12 +311,15 @@ namespace Handbrake.Controls
}
}
+ /// <summary>
+ /// Set all subtitle tracks so that they have no default.
+ /// </summary>
private void SetNoSrtDefault()
{
int c = 0;
foreach (ListViewItem item in lv_subList.Items)
{
- if (subList[c].SrtPath != "-")
+ if (!subList[c].IsSrtSubtitle)
{
if (item.SubItems[3].Text == "Yes")
{