提交 edaa1a84 编写于 作者: A Alex Dima

Fixes #26517

上级 1c984e8d
...@@ -688,6 +688,10 @@ export class ExtensionEditor extends BaseEditor { ...@@ -688,6 +688,10 @@ export class ExtensionEditor extends BaseEditor {
} }
const keyBinding = KeybindingIO.readKeybinding(key || rawKeyBinding.key, OS); const keyBinding = KeybindingIO.readKeybinding(key || rawKeyBinding.key, OS);
if (!keyBinding) {
return null;
}
return this.keybindingService.resolveKeybinding(keyBinding)[0]; return this.keybindingService.resolveKeybinding(keyBinding)[0];
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册