diff options
| author | Vadim Shpakovski | 2012-08-25 23:42:19 +0300 | 
|---|---|---|
| committer | Vadim Shpakovski | 2012-08-25 23:42:19 +0300 | 
| commit | 11dd71d546a15a8418176f0c0f245833be8d1fa2 (patch) | |
| tree | a7c9db444b3c5f66a8bb44aa12a6df7c062795dc /MASShortcutView.m | |
| parent | e5a490c0fc0c6dd85a8254d8418384eef5a54cc7 (diff) | |
| download | MASShortcut-11dd71d546a15a8418176f0c0f245833be8d1fa2.tar.bz2 | |
Allows support for Function keys in shortcuts.
Diffstat (limited to 'MASShortcutView.m')
| -rw-r--r-- | MASShortcutView.m | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/MASShortcutView.m b/MASShortcutView.m index 063f249..a6862fa 100644 --- a/MASShortcutView.m +++ b/MASShortcutView.m @@ -320,7 +320,7 @@ void *kUserDataHint = &kUserDataHint;              else {                  // Verify possible shortcut                  if (shortcut.keyCodeString.length > 0) { -                    if (shortcut.hasRequiredModifierFlags) { +                    if (shortcut.valid) {                          // Verify that shortcut is not used                          NSError *error = nil;                          if ([shortcut isTakenError:&error]) { | 
