Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1851 from DennisKehrig/dk/key-bindings
Browse files Browse the repository at this point in the history
Improved error message when trying to overwrite an existing key binding
  • Loading branch information
gruehle committed Oct 16, 2012
2 parents b24ea3e + e14182f commit 22f5ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/KeyBindingManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ define(function (require, exports, module) {
// skip if the key is already assigned
if (_isKeyAssigned(normalized)) {
console.log("Cannot assign " + normalized + " to " + commandID +
". It is already assigned to " + _keyMap[normalized]);
". It is already assigned to " + _keyMap[normalized].commandID);
return null;
}

Expand Down

0 comments on commit 22f5ff9

Please sign in to comment.