diff options
author | sr55 <[email protected]> | 2019-04-16 20:15:53 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-04-16 20:15:53 +0100 |
commit | 4e373878edec6d1ec0b9f89ef30553c68cba093f (patch) | |
tree | 3c5398cdd49b070527fa359d023f68f882d99c96 | |
parent | e2d88fc3e1bfbdca9289876948f7f25f315e537b (diff) |
WinGui: Reset IsPresetModified when Updating a preset. Fixes #2042
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 56e8d6d0d..5ea828884 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1886,6 +1886,7 @@ namespace HandBrakeWPF.ViewModels {
this.selectedPreset.Update(new EncodeTask(this.CurrentTask), new AudioBehaviours(this.AudioViewModel.AudioBehaviours), new SubtitleBehaviours(this.SubtitleViewModel.SubtitleBehaviours));
this.presetService.Update(this.selectedPreset);
+ this.IsModifiedPreset = false;
this.errorService.ShowMessageBox(
Resources.Main_PresetUpdated, Resources.Updated, MessageBoxButton.OK, MessageBoxImage.Information);
|