summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index e95579673..828ddfe19 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -426,6 +426,14 @@ namespace HandBrakeWPF.ViewModels
{
this.Task.HasCropping = value;
this.NotifyOfPropertyChange(() => this.IsCustomCrop);
+
+ if (!value && this.currentTitle != null)
+ {
+ this.CropTop = currentTitle.AutoCropDimensions.Top;
+ this.CropBottom = currentTitle.AutoCropDimensions.Bottom;
+ this.CropLeft = currentTitle.AutoCropDimensions.Left;
+ this.CropRight = currentTitle.AutoCropDimensions.Right;
+ }
}
}