Skip to content

Commit

Permalink
fix: fire quick pick accept after selection event (#4267)
Browse files Browse the repository at this point in the history
  • Loading branch information
ensorrow authored Dec 25, 2024
1 parent df8a7e6 commit 509be2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ class ExtQuickPick<T extends vscode.QuickPickItem> extends BaseQuickInput implem
const selectItem = (item: T | T[]) => {
const selectedItems = Array.isArray(item) ? item : [item];
this.selectedItems = this.activeItems = selectedItems;
this._onDidAcceptEmitter.fire(undefined);
this._onDidChangeSelectionEmitter.fire(selectedItems);
this._onDidAcceptEmitter.fire(undefined);
};

this.quickOpen
Expand Down

0 comments on commit 509be2f

Please sign in to comment.