diff options
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Controls/Subtitles.cs | 4 | ||||
-rw-r--r-- | win/C#/frmMain.cs | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/win/C#/Controls/Subtitles.cs b/win/C#/Controls/Subtitles.cs index efe63df15..14e7bab1d 100644 --- a/win/C#/Controls/Subtitles.cs +++ b/win/C#/Controls/Subtitles.cs @@ -24,6 +24,10 @@ namespace Handbrake.Controls private int FileContainer;
// Public Functions
+ public void Clear()
+ {
+ lv_subList.Items.Clear();
+ }
public void setSubtitleTrackAuto()
{
// Handle Native Language and "Dub Foreign language audio" and "Use Foreign language audio and Subtitles" Options
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 2be9b168b..510454dab 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -949,6 +949,7 @@ namespace Handbrake Subtitles.drp_subtitleTracks.Items.Add("Foreign Audio Search (Bitmap)");
Subtitles.drp_subtitleTracks.Items.AddRange(selectedTitle.Subtitles.ToArray());
Subtitles.drp_subtitleTracks.SelectedIndex = 0;
+ Subtitles.Clear();
Subtitles.setSubtitleTrackAuto();
}
|