mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Only update active cell if the cell isn't currently in edit mode. (#18672)
This commit is contained in:
@@ -547,9 +547,9 @@ 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);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function preventDefaultAndExecCommand(e: KeyboardEvent, commandId: string, showUI?: boolean, value?: string) {
|
function preventDefaultAndExecCommand(e: KeyboardEvent, commandId: string, showUI?: boolean, value?: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user