mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
Fix missing run buttons
Update kernel context when editor model changes
This commit is contained in:
parent
7947c4d3f8
commit
91ee63fd0a
|
@ -50,6 +50,7 @@ export class NotebookEditorContextKeys {
|
|||
this._viewModelDisposables.clear();
|
||||
dispose(this._cellStateListeners);
|
||||
this._cellStateListeners.length = 0;
|
||||
this._updateKernelContext();
|
||||
|
||||
if (!this._editor.hasModel()) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue