aboutsummaryrefslogtreecommitdiffstats
path: root/MASShortcutView.m
diff options
context:
space:
mode:
authorVadim Shpakovski2012-08-25 23:42:19 +0300
committerVadim Shpakovski2012-08-25 23:42:19 +0300
commit11dd71d546a15a8418176f0c0f245833be8d1fa2 (patch)
treea7c9db444b3c5f66a8bb44aa12a6df7c062795dc /MASShortcutView.m
parente5a490c0fc0c6dd85a8254d8418384eef5a54cc7 (diff)
downloadMASShortcut-11dd71d546a15a8418176f0c0f245833be8d1fa2.tar.bz2
Allows support for Function keys in shortcuts.
Diffstat (limited to 'MASShortcutView.m')
-rw-r--r--MASShortcutView.m2
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]) {