diff options
author | sr55 <[email protected]> | 2015-06-16 18:56:57 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-06-16 18:56:57 +0000 |
commit | 92ded4966b70c31e74fd763bff02dff7d6630be7 (patch) | |
tree | 3798adb5ba3039522bf3611033a760e8e5ce2924 /win/CS/HandBrakeWPF/Services/Presets/Factories | |
parent | 9af2744dc77d548ceea443a7effc3e1360833981 (diff) |
WinGui: Fix an issue with the json preset factory not correctly setting the auto-crop flag. Minor UI alignment issue fixed on the Picture tab.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7300 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets/Factories')
-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 580e275ce..89fd93921 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/Factories/JsonPresetFactory.cs @@ -61,7 +61,7 @@ namespace HandBrakeWPF.Services.Presets.Factories preset.Task.MaxWidth = importedPreset.PictureWidth.HasValue && importedPreset.PictureWidth.Value > 0 ? importedPreset.PictureWidth.Value : (int?)null;
preset.Task.MaxHeight = importedPreset.PictureHeight.HasValue && importedPreset.PictureHeight.Value > 0 ? importedPreset.PictureHeight.Value : (int?)null;
preset.Task.Cropping = new Cropping(importedPreset.PictureTopCrop, importedPreset.PictureBottomCrop, importedPreset.PictureLeftCrop, importedPreset.PictureRightCrop);
- preset.Task.HasCropping = importedPreset.PictureAutoCrop;
+ preset.Task.HasCropping = !importedPreset.PictureAutoCrop;
preset.Task.Modulus = importedPreset.PictureModulus;
preset.Task.KeepDisplayAspect = importedPreset.PictureKeepRatio;
|