diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index b65250e69..de4476367 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1896,7 +1896,8 @@ namespace HandBrakeWPF.ViewModels this.windowManager.ShowDialog(presetViewModel);
Preset preset = presetViewModel.Preset;
- this.SelectedPreset = preset; // Reselect the preset
+ this.NotifyOfPropertyChange(() => this.CategoryPresets);
+ this.SelectedPreset = preset; // Reselect the preset
}
/// <summary>
@@ -1931,6 +1932,7 @@ namespace HandBrakeWPF.ViewModels this.presetService.Remove(this.selectedPreset);
this.NotifyOfPropertyChange(() => this.CategoryPresets);
+ this.SelectedPreset = this.CategoryPresets.FirstOrDefault();
}
else
{
|