未验证 提交 af14bf67 编写于 作者: R rebornix

remove kernel picker config in menu contribution

上级 1da9f2d2
......@@ -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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册