X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/ea3dc416d45e5e72dc83a757a2031a2a763bbe51..2d9409ab3de16736f5ec5fae6ec0eb6c15fe6c4a:/PreferencesController.m diff --git a/PreferencesController.m b/PreferencesController.m index b4cba9e..3a9ecd3 100755 --- a/PreferencesController.m +++ b/PreferencesController.m @@ -237,15 +237,7 @@ - (IBAction)okHotKey:(id)sender { - NSString *string; - if (([combo modifiers] <= 0) && ([combo keyCode] >= 0)) { - [window setLevel:NSNormalWindowLevel]; - NSRunAlertPanel(@"Bad Key Combo", @"Please enter a valid key combo. A valid combo must have a modifier key in it. (Command, option, shift, control).", @"OK", nil, nil, nil); - [window setLevel:NSStatusWindowLevel]; - return; - } - - string = [combo userDisplayRep]; + NSString *string = [combo userDisplayRep]; if (string == nil) { string = @"None";