From 6aee3b7518264af46fd7d2f4580579313e2eaf72 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Sun, 10 Aug 2014 16:05:07 +0000 Subject: MacGui: implemented the HBViewValidation protocol in each of the main window view controllers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6285 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBAudioController.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'macosx/HBAudioController.m') diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m index 171f37e39..df623d877 100644 --- a/macosx/HBAudioController.m +++ b/macosx/HBAudioController.m @@ -95,13 +95,13 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; [self switchingTrackFromNone:nil]; } -- (void)enableUI:(BOOL)b +- (void)setUIEnabled:(BOOL)flag { - self.enabled = b; - [fTableView setEnabled:b]; - [self.trackPopup setEnabled:b]; - [self.configureDefaults setEnabled:b]; - [self.reloadDefaults setEnabled:b]; + self.enabled = flag; + [fTableView setEnabled:flag]; + [self.trackPopup setEnabled:flag]; + [self.configureDefaults setEnabled:flag]; + [self.reloadDefaults setEnabled:flag]; } - (BOOL)validateUserInterfaceItem:(id < NSValidatedUserInterfaceItem >)anItem -- cgit v1.2.3