diff options
author | ritsuka <[email protected]> | 2015-07-27 08:53:17 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-07-27 08:53:17 +0000 |
commit | d01146cc258985e5095de384fb3fe204c9ae734a (patch) | |
tree | 778878a540b4533932e0d13829347a575fdc5805 /macosx/HBAddPresetController.m | |
parent | aa4f592e9a991144e1ecac601858eefbf12a853c (diff) |
MacGui: remove the "use picture filters" checkbox in the add preset sheet. The user can always remove the filters manually before adding the preset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7380 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r-- | macosx/HBAddPresetController.m | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m index 41b507d0c..14999dfc6 100644 --- a/macosx/HBAddPresetController.m +++ b/macosx/HBAddPresetController.m @@ -21,8 +21,6 @@ @property (unsafe_unretained) IBOutlet NSTextField *picHeight; @property (unsafe_unretained) IBOutlet NSBox *picWidthHeightBox; -@property (unsafe_unretained) IBOutlet NSButton *picFilters; - @property (nonatomic, strong) HBPreset *preset; @property NSSize size; @@ -69,11 +67,8 @@ * Default to Custom for all other anamorphic modes */ [self.picSettingsPopUp selectItemWithTag: (1 + ([self.preset.content[@"PicturePAR"] integerValue] == HB_ANAMORPHIC_STRICT))]; - /* Save the current filters in the preset by default */ - [self.picFilters setState:NSOnState]; /* Initialize custom height and width settings to current values */ - [self.picWidth setStringValue: [NSString stringWithFormat:@"%d", (int)self.size.width]]; [self.picHeight setStringValue: [NSString stringWithFormat:@"%d",(int)self.size.height]]; [self addPresetPicDropdownChanged:nil]; @@ -117,8 +112,8 @@ //Get the whether or not to apply pic Size and Cropping (includes Anamorphic) dict[@"UsesPictureSettings"] = @(self.picSettingsPopUp.selectedItem.tag); - // Get whether or not to use the current Picture Filter settings for the preset - dict[@"UsesPictureFilters"] = @((BOOL) self.picFilters.state); + // Always use Picture Filter settings for the preset + dict[@"UsesPictureFilters"] = @YES; self.preset.content = [dict copy]; |