diff options
Diffstat (limited to 'win/C#/Controls')
-rw-r--r-- | win/C#/Controls/Subtitles.cs | 5 |
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")
{
|