summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsViewController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-18 11:18:00 +0000
committerritsuka <[email protected]>2014-12-18 11:18:00 +0000
commit8d8c8c1c56012cb5b4ce7548576832b2348cae2a (patch)
tree0d548d02602f4452e99577d91a1c369ecfadabfb /macosx/HBPresetsViewController.m
parent217d6e9d87b5bdfe75a18b3e5f87327505459cbe (diff)
MacGui: separate the video settings logic from the view controller. There are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPresetsViewController.m')
-rw-r--r--macosx/HBPresetsViewController.m11
1 files changed, 2 insertions, 9 deletions
diff --git a/macosx/HBPresetsViewController.m b/macosx/HBPresetsViewController.m
index a5cb8c6ad..921df6ee5 100644
--- a/macosx/HBPresetsViewController.m
+++ b/macosx/HBPresetsViewController.m
@@ -28,12 +28,12 @@
@property (assign) IBOutlet NSOutlineView *outlineView;
-@property (nonatomic) BOOL enabled;
-
@end
@implementation HBPresetsViewController
+@synthesize enabled = _enabled;
+
- (instancetype)initWithPresetManager:(HBPresetsManager *)presetManager
{
self = [super initWithNibName:@"Presets" bundle:nil];
@@ -83,13 +83,6 @@
return YES;
}
-#pragma mark - HBViewValidation methods
-
-- (void)setUIEnabled:(BOOL)flag
-{
- self.enabled = flag;
-}
-
#pragma mark - UI Methods
- (IBAction)clicked:(id)sender