From a97d96f97a34eba0a818ca15ec071e95e3311dc2 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 30 Dec 2018 19:58:13 +0000 Subject: [PATCH] WinGui: Fix an issue where picture settings (crop and anamorphic) are not correctly restored on queue edit. Fixes #1771 --- .../ViewModels/PictureSettingsViewModel.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs index c45d2e092..1764a7dac 100644 --- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs @@ -729,6 +729,17 @@ namespace HandBrakeWPF.ViewModels this.NotifyOfPropertyChange(() => this.Height); this.NotifyOfPropertyChange(() => this.SelectedAnamorphicMode); this.NotifyOfPropertyChange(() => this.SelectedModulus); + this.NotifyOfPropertyChange(() => this.CropTop); + this.NotifyOfPropertyChange(() => this.CropBottom); + this.NotifyOfPropertyChange(() => this.CropLeft); + this.NotifyOfPropertyChange(() => this.CropRight); + this.NotifyOfPropertyChange(() => this.IsCustomCrop); + this.NotifyOfPropertyChange(() => this.MaintainAspectRatio); + this.NotifyOfPropertyChange(() => this.DisplayWidth); + this.NotifyOfPropertyChange(() => this.ParWidth); + this.NotifyOfPropertyChange(() => this.ParHeight); + + this.UpdateVisibileControls(); } /// -- 2.40.0