Johannes Rieken 2020-05-14 10:49:15 +02:00
parent a520661924
commit 046e3c7f0e

View file

@ -478,6 +478,7 @@ export function registerAction2(ctor: { new(): Action2 }): IDisposable {
}
if (f1) {
disposables.add(MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command, when: command.precondition }));
disposables.add(MenuRegistry.addCommand(command));
}
// keybinding