From 7975fda6ddf15dddd10f036690a535e643b1aabe Mon Sep 17 00:00:00 2001 From: Lewis Sanchez <87730006+lewis-sanchez@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:02:24 -0700 Subject: [PATCH] Properly close dialog with escape (#23397) * Properly close dialog with escape * Revert "Properly close dialog with escape" This reverts commit 9ea5ec4beebcbbd4f0623ed0b5da0f1026fcd5be. * Remove focus on ok button in filter dialog * Sets the focus on the filterTable --- .../objectExplorer/browser/filterDialog/filterDialog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts b/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts index 6c75d61a92..daadbeec9e 100644 --- a/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts +++ b/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts @@ -134,7 +134,7 @@ export class FilterDialog extends Modal { public open(): void { this.render(); this.show(); - this._okButton.focus(); + this.filterTable.focus(); } public override render() {