summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-05-24 21:47:12 +0100
committersr55 <[email protected]>2017-05-24 21:47:22 +0100
commit615db8abfd8864a7fc61cc3d25895912ef6c5dd4 (patch)
treeff1b4ae6818ab4068eb8db35eb166aa7a8f22db0 /win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
parente22fbb1a0faa3513dfdfbdd796f31c03df6e86bb (diff)
WinGui: Change the "For Additional Tracks" dropdown. Remove the "None" option. It doesn't make sense. This fixes an issue where we couldn't load "all" due to the preset key for it being a 2 state bollean rather than a 3 state option.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
index ffea2554e..ff7a8376f 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs
@@ -351,9 +351,6 @@ namespace HandBrakeWPF.ViewModels
switch (this.AudioBehaviours.SelectedTrackDefaultBehaviour)
{
- case AudioTrackDefaultsMode.None:
- this.Task.AudioTracks.Add(new AudioTrack { ScannedTrack = track });
- break;
case AudioTrackDefaultsMode.FirstTrack:
AudioBehaviourTrack template = this.AudioBehaviours.BehaviourTracks.FirstOrDefault();
this.Task.AudioTracks.Add(template != null ? new AudioTrack(template, track, this.Task.AllowedPassthruOptions.AudioEncoderFallback) : new AudioTrack { ScannedTrack = track });