summaryrefslogtreecommitdiffstats
path: root/win/CS/Controls/AudioPanel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/Controls/AudioPanel.cs')
-rw-r--r--win/CS/Controls/AudioPanel.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/Controls/AudioPanel.cs b/win/CS/Controls/AudioPanel.cs
index 84ff1e509..1b9b331c6 100644
--- a/win/CS/Controls/AudioPanel.cs
+++ b/win/CS/Controls/AudioPanel.cs
@@ -182,7 +182,12 @@ namespace Handbrake.Controls
this.audioTracks.Add(track);
}
- this.AutomaticTrackSelection();
+ if (tracks.Count == 0 || tracks[0].ScannedTrack.TrackNumber == 0)
+ {
+ this.AutomaticTrackSelection();
+ }
+
+
if (this.AudioListChanged != null)
this.AudioListChanged(this, new EventArgs());