Skip to content

Commit 1eb76a6

Browse files
committed
Fix list clearing for new references on sync.
1 parent 2d6b347 commit 1eb76a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerReferenceFolderViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public void Synchronize(Declaration parent, List<ReferenceModel> updated)
7979
reference.ToReferenceInfo());
8080

8181
AddChild(new CodeExplorerReferenceViewModel(this, reference));
82+
updated.Remove(reference);
8283
}
8384

8485
if (!Children.Any())

0 commit comments

Comments
 (0)