diff options
author | sr55 <[email protected]> | 2017-12-13 21:18:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-12-13 21:18:42 +0000 |
commit | 91bd97fb5525b686ec3b52978655ede2b56978f4 (patch) | |
tree | dcd91c9bdb1ca5ac0dc708e6ad31a994a1bf78ac /win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | |
parent | cbe743cb97092986993a5fe5febbfc64c5779625 (diff) |
WinGui: Finish off modification detection
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs index 643daaccc..cf1ea6d3c 100644 --- a/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs @@ -220,11 +220,7 @@ namespace HandBrakeWPF.ViewModels IPopupWindowViewModel popup = new PopupWindowViewModel(this.AudioDefaultsViewModel, ResourcesUI.Preset_AudioDefaults_Title, ResourcesUI.AudioView_AudioDefaultsDescription);
if (this.windowManager.ShowDialog(popup) == true)
{
- // Nothing to do yet, it's by reference.
- }
- else
- {
- // Handle other case(s)
+ this.OnTabStatusChanged(null);
}
}
@@ -350,6 +346,11 @@ namespace HandBrakeWPF.ViewModels return false;
}
+ if (preset.AudioTrackBehaviours.BehaviourTracks.Count != this.AudioBehaviours.BehaviourTracks.Count)
+ {
+ return false;
+ }
+
return true;
}
|