Fix missing run buttons

Update kernel context when editor model changes
This commit is contained in:
Rob Lourens 2021-04-20 17:52:02 -07:00
parent 7947c4d3f8
commit 91ee63fd0a

View file

@ -50,6 +50,7 @@ export class NotebookEditorContextKeys {
this._viewModelDisposables.clear();
dispose(this._cellStateListeners);
this._cellStateListeners.length = 0;
this._updateKernelContext();
if (!this._editor.hasModel()) {
return;