Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit c119692

Browse files
author
Steven Kirk
committed
Fix logic in listener collection.
Fixes #431
1 parent 6e47b96 commit c119692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Exports.Reactive/Collections/TrackingCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static ObservableCollection<T> CreateListenerCollection<T>(this ITracking
9696
{
9797
result.Insert(0, stickieItemOnTop);
9898
}
99-
else if (hasStickie)
99+
else if (!hasSelection && hasStickie)
100100
{
101101
result.Remove(stickieItemOnTop);
102102
}

0 commit comments

Comments
 (0)