summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-10 16:05:07 +0000
committerritsuka <[email protected]>2014-08-10 16:05:07 +0000
commit6aee3b7518264af46fd7d2f4580579313e2eaf72 (patch)
tree9e2839ae202e1c07baeb181abba643714ae71b21 /macosx/HBAudioController.m
parentc50899dd7361801c04463fe1630392500608ebab (diff)
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
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r--macosx/HBAudioController.m12
1 files changed, 6 insertions, 6 deletions
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