mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 11:10:48 +00:00
Show clear outputs only when there is kernel.
This commit is contained in:
parent
9eb4eff77b
commit
99bcc8e245
1 changed files with 4 additions and 1 deletions
|
@ -1590,7 +1590,10 @@ registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
|
|||
},
|
||||
{
|
||||
id: MenuId.NotebookToolbar,
|
||||
when: ContextKeyExpr.equals('config.notebook.globalToolbar', true),
|
||||
when: ContextKeyExpr.and(
|
||||
executeNotebookCondition,
|
||||
ContextKeyExpr.equals('config.notebook.globalToolbar', true)
|
||||
),
|
||||
group: 'navigation/execute',
|
||||
order: 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue