diff --git a/src/sql/parts/notebook/notebook.component.ts b/src/sql/parts/notebook/notebook.component.ts index e216b8b447..fc01cdfeb2 100644 --- a/src/sql/parts/notebook/notebook.component.ts +++ b/src/sql/parts/notebook/notebook.component.ts @@ -171,7 +171,6 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe if (this.model.activeCell) { this.model.activeCell.active = false; } - this.model.activeCell = null; this._changeRef.detectChanges(); }