From 9547820a7225efc2a905d9b5c22437a25b7d8cdc Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 19 Apr 2014 20:58:11 +0000 Subject: WinGui: Fix an issue on the Audio panel that was resetting the audio selection mode on title change, if there were no audio tracks on the selected title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6169 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF') diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs index 73741313f..cc7570140 100644 --- a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs @@ -414,7 +414,7 @@ namespace HandBrakeWPF.ViewModels this.SourceTracks = title.AudioTracks; // Only reset the audio tracks if we have none, or if the task is null. - if (this.Task == null || this.Task.AudioTracks.Count == 0) + if (this.Task == null) { this.SetPreset(preset, task); } -- cgit v1.2.3