diff options
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]; } } |