diff options
author | sr55 <[email protected]> | 2014-04-19 20:58:11 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-04-19 20:58:11 +0000 |
commit | 9547820a7225efc2a905d9b5c22437a25b7d8cdc (patch) | |
tree | 376ca94071690062b99e700e396254085fcec1e8 /win/CS/HandBrakeWPF/ViewModels | |
parent | 06243dc065919ec1b547d547e97a43d50c4e3595 (diff) |
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
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|