Add check to ignore hotkey registrations with null key (#1256)
This commit is contained in:
parent
5c57015a79
commit
0cbbe48694
@ -86,6 +86,7 @@ class HotkeyHandler extends EventDispatcher {
|
||||
for (const {action, key, modifiers, scopes, enabled} of hotkeys) {
|
||||
if (
|
||||
enabled &&
|
||||
key !== null &&
|
||||
action !== '' &&
|
||||
scopes.includes(this._scope)
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user