Skip to content

Commit

Permalink
Fix tree view selection
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kozinko [email protected]
  • Loading branch information
xcariba authored and vince-fugnitto committed Jun 30, 2021
1 parent 74cc16e commit 0a87508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-ext/src/plugin/tree/tree-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ class TreeViewExtImpl<T> implements Disposable {

setSelection(selectedItemIds: string[]): void {
const toDelete = new Set<string>(this.selectedItemIds);
for (const id of this.selectedItemIds) {
for (const id of selectedItemIds) {
toDelete.delete(id);
if (!this.selectedItemIds.has(id)) {
this.doSetSelection(selectedItemIds);
Expand Down

0 comments on commit 0a87508

Please sign in to comment.