mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 17:23:25 -05:00
Fix enter button behavior for wizards and dialogs (#1868)
This commit is contained in:
@@ -124,7 +124,7 @@ export class DialogModal extends Modal {
|
||||
}
|
||||
|
||||
public async done(): Promise<void> {
|
||||
if (this._dialog.okButton.enabled) {
|
||||
if (this._doneButton.enabled) {
|
||||
if (await this._dialog.validateClose()) {
|
||||
this._onDone.fire();
|
||||
this.dispose();
|
||||
|
||||
Reference in New Issue
Block a user