aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Sokolov2015-08-09 21:27:19 +0300
committerRoman Sokolov2015-08-09 21:27:19 +0300
commit5ead539397ba9f939573b187fac825c61facd25c (patch)
tree9f6ae9883e937598069bcafcf7e2c61e31b6afab
parent3f63f8fefccf36f567308854f5b1e3908a15c9c3 (diff)
downloadMASShortcut-5ead539397ba9f939573b187fac825c61facd25c.tar.bz2
Fix
Fix problem: Set hotkey [TheSameHOTKEY], then mousedown on delete button, then set hotkey again [TheSameHOTKEY], then this hotkey do not work.
-rw-r--r--Framework/MASShortcutBinder.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Framework/MASShortcutBinder.m b/Framework/MASShortcutBinder.m
index 92ba6e8..4c0d7f9 100644
--- a/Framework/MASShortcutBinder.m
+++ b/Framework/MASShortcutBinder.m
@@ -109,6 +109,7 @@
// Just deleting the old shortcut
if (newShortcut == nil) {
+ [_shortcuts removeObjectForKey:key];
return;
}