diff options
author | Scott <[email protected]> | 2015-12-12 21:07:26 +0000 |
---|---|---|
committer | Scott <[email protected]> | 2015-12-12 21:07:26 +0000 |
commit | e6bfb3b95afa5fb032040062e27f2cf0251e1cc1 (patch) | |
tree | 6cf5e306fcd45ccc4cdd0f86869e6fdec0f46afa | |
parent | 14ba99574efd1127fb48a995b2c74f181e52456e (diff) |
WinGui: Fix an issue where presets crop settings could be incorrectly stored for fresh installs of the app until the user reset built-in presets manually.
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs index 65e51c2c1..1282cf414 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs @@ -530,7 +530,7 @@ namespace HandBrakeWPF.Services.Presets.Factories preset.PictureTopCrop = export.Task.Cropping.Top;
preset.PictureWidth = preset.UsesPictureSettings >= 1 ? export.Task.MaxWidth : 0; // TODO
preset.PictureDARWidth = export.Task.DisplayWidth.HasValue ? (int)export.Task.DisplayWidth.Value : 0;
- preset.PictureAutoCrop = export.Task.HasCropping;
+ preset.PictureAutoCrop = !export.Task.HasCropping;
preset.PictureBottomCrop = export.Task.Cropping.Bottom;
// Filters
|