diff options
author | Rodeo <[email protected]> | 2013-01-02 17:27:50 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-01-02 17:27:50 +0000 |
commit | e993c7e5608e755a3d941d8521995bc0bf33ce1f (patch) | |
tree | e79eb25304b77e3a9a72c861f722334c4bc079fd /macosx/Controller.m | |
parent | 61a4e76cb234e2cd05006e86404ce2b88e76fca8 (diff) |
MacGui: fix fx264UseAdvancedOptionsCheck (hopefully).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5130 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r-- | macosx/Controller.m | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index fd99f39b6..5e0a3b057 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -794,7 +794,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It } [self videoMatrixChanged:nil]; - [self updateX264Widgets:b]; + [self enableX264Widgets:b]; } @@ -5298,7 +5298,7 @@ the user is using "Custom" settings by determining the sender*/ [fDisplayX264PresetsAdditonalOptionsTextField setStringValue:@""]; } -- (IBAction) updateX264Widgets: (bool) enable +- (void) enableX264Widgets: (bool) enable { NSControl * controls[] = { @@ -5352,6 +5352,11 @@ the user is using "Custom" settings by determining the sender*/ [self x264PresetsChangedDisplayExpandedOptions:nil]; } +- (IBAction) updateX264Widgets: (id) sender +{ + [self enableX264Widgets: YES]; +} + - (IBAction) x264PresetsSliderChanged: (id) sender { @@ -6153,7 +6158,7 @@ return YES; } /* we enable the advanced panel and update the widgets */ [fx264UseAdvancedOptionsCheck setState: NSOnState]; - [self updateX264Widgets: YES]; + [self updateX264Widgets:nil]; } /* * x264UeAdvancedOptions is set to 0 (disabled), @@ -6208,7 +6213,7 @@ return YES; } /* we enable the advanced panel and update the widgets */ [fx264UseAdvancedOptionsCheck setState: NSOffState]; - [self updateX264Widgets: YES]; + [self updateX264Widgets:nil]; } } |