diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts index 7dfb7ce7b9..9d73502445 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts @@ -547,8 +547,8 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges { private enableActiveCellEditOnDoubleClick() { if (!this.isEditMode && this.doubleClickEditEnabled) { this.toggleEditMode(true); + this._model.updateActiveCell(this.cellModel, true); } - this._model.updateActiveCell(this.cellModel, true); } }