diff options
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/AudioViewModel.cs | 11 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs | 6 |
2 files changed, 7 insertions, 10 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;
}
diff --git a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs index f1753aeed..c05fda5e5 100644 --- a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs @@ -428,11 +428,7 @@ namespace HandBrakeWPF.ViewModels IPopupWindowViewModel popup = new PopupWindowViewModel(this.SubtitleDefaultsViewModel, ResourcesUI.Preset_SubtitleDefaults_Title, ResourcesUI.SubtitleView_SubtitleDefaultsDescription);
if (this.windowManager.ShowDialog(popup) == true)
{
- // Nothing to do yet, it's by reference.
- }
- else
- {
- // Handle other case(s)
+ this.OnTabStatusChanged(null);
}
}
|