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

Improved error message when trying to overwrite an existing key binding #1851

Merged
merged 1 commit into from
Oct 16, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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