From: sr55 Date: Sun, 30 Dec 2018 19:58:13 +0000 (+0000) Subject: WinGui: Fix an issue where picture settings (crop and anamorphic) are not correctly... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a97d96f97a34eba0a818ca15ec071e95e3311dc2;p=handbrake WinGui: Fix an issue where picture settings (crop and anamorphic) are not correctly restored on queue edit. Fixes #1771 --- 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(); } ///