We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afdbb3d commit 7724e41Copy full SHA for 7724e41
js/ui/keybindings.js
@@ -202,8 +202,8 @@ KeybindingManager.prototype = {
202
},
203
204
invoke_keybinding_action_by_id: function(id) {
205
- if (this.bindings[id] !== undefined) {
206
- const binding = this.bindings[id];
+ const binding = this.bindings.get(id);
+ if (id !== undefined) {
207
// log(`invoke_keybinding_action_by_id: ${binding.name}, bindings: ${binding.bindings} - action id: ${id}`);
208
binding.callback(null, null, null);
209
}
0 commit comments