Skip to content

Commit fe97397

Browse files
Fix accept behavior (microsoft#269595)
Fixes microsoft#269557
1 parent 7f2038b commit fe97397

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/quickinput/browser/quickInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ export class QuickPick<T extends IQuickPickItem, O extends { useSeparators: bool
11631163
return; // needs to be enabled
11641164
}
11651165

1166-
if (this.activeItems[0]) {
1166+
if (this.activeItems[0] && !this._canSelectMany) {
11671167
this._selectedItems = [this.activeItems[0]];
11681168
this.onDidChangeSelectionEmitter.fire(this.selectedItems);
11691169
}

0 commit comments

Comments
 (0)