From ce793fa5ebd19fafb38287bcb011e2c93ca32216 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 4 Oct 2009 14:58:41 +0000 Subject: WinGui: - Reset the Subtitles panel on Source or Title change. This can be made smarter later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2865 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Controls/Subtitles.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win/C#/Controls') 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 -- cgit v1.2.3