mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
fix enablement in context menu
This commit is contained in:
@@ -84,9 +84,9 @@ export class ContextMenuService implements IContextMenuService {
|
||||
|
||||
const item = new remote.MenuItem({
|
||||
label: e.label,
|
||||
checked: e.checked,
|
||||
checked: !!e.checked,
|
||||
accelerator,
|
||||
enabled: e.enabled,
|
||||
enabled: !!e.enabled,
|
||||
click: () => {
|
||||
this.runAction(e, delegate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user