diff options
author | sr55 <sr55.hb@outlook.com> | 2011-09-16 18:56:16 +0000 |
---|---|---|
committer | sr55 <sr55.hb@outlook.com> | 2011-09-16 18:56:16 +0000 |
commit | ccbaa9137a2275647a22b86487109f694c0f732d (patch) | |
tree | b2571e6d72497940ba5cdd09ee7300815eb6629b /win/CS/Controls | |
parent | ee032aae30e70df2e9586abda9516cf2bb457990 (diff) |
WinGui: Correctly reload audio tracks on queue edit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4227 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Controls')
-rw-r--r-- | win/CS/Controls/AudioPanel.cs | 7 |
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());
|