remove kernel picker config in menu contribution

This commit is contained in:
rebornix 2021-05-24 16:49:02 -07:00
parent 1da9f2d2e6
commit af14bf673a
No known key found for this signature in database
GPG key ID: 181FC90D15393C20

View file

@ -42,7 +42,6 @@ registerAction2(class extends Action2 {
when: ContextKeyExpr.and(
NOTEBOOK_IS_ACTIVE_EDITOR,
NOTEBOOK_KERNEL_COUNT.notEqualsTo(0),
ContextKeyExpr.equals('config.notebook.showKernelInEditorTitle', true),
ContextKeyExpr.notEquals('config.notebook.globalToolbar', true)
),
group: 'navigation',
@ -51,7 +50,6 @@ registerAction2(class extends Action2 {
id: MenuId.NotebookToolbar,
when: ContextKeyExpr.and(
NOTEBOOK_KERNEL_COUNT.notEqualsTo(0),
ContextKeyExpr.equals('config.notebook.showKernelInEditorTitle', true),
ContextKeyExpr.equals('config.notebook.globalToolbar', true)
),
group: 'status',