summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-09-07 16:18:50 +0000
committersr55 <[email protected]>2013-09-07 16:18:50 +0000
commitfc297e6f21f204621f110b6f156031cf6dc626a4 (patch)
tree2dc327a88e4055c6c574b054b48d79ab6c46b0d0
parentd8729498fb53e8fe761c1c47af2415ffd847bd3a (diff)
WinGui: Fix the Automatic Auto selection when a preset is selected. Honour the preset using the primary track, then follow the rules of the automatic selection.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5774 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
index 800f7e180..2d17f78a1 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
@@ -206,7 +206,7 @@ namespace HandBrakeWPF.ViewModels
if (preset != null && preset.Task != null)
{
- this.AddTracksFromPreset(preset);
+ this.AutomaticTrackSelection();
this.Task.AllowedPassthruOptions = new AllowedPassthru(preset.Task.AllowedPassthruOptions);
}
this.NotifyOfPropertyChange(() => this.Task);