mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Only update active cell if the cell isn't currently in edit mode. (#18672)
This commit is contained in:
@@ -547,8 +547,8 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
|
|||||||
private enableActiveCellEditOnDoubleClick() {
|
private enableActiveCellEditOnDoubleClick() {
|
||||||
if (!this.isEditMode && this.doubleClickEditEnabled) {
|
if (!this.isEditMode && this.doubleClickEditEnabled) {
|
||||||
this.toggleEditMode(true);
|
this.toggleEditMode(true);
|
||||||
|
this._model.updateActiveCell(this.cellModel, true);
|
||||||
}
|
}
|
||||||
this._model.updateActiveCell(this.cellModel, true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user