We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a758c3 commit f388b75Copy full SHA for f388b75
Flow.Launcher/ViewModel/ResultsViewModel.cs
@@ -267,12 +267,13 @@ public void BulkAddAll(List<ResultViewModel> resultViews)
267
}
268
private void AddAll(List<ResultViewModel> Items)
269
{
270
- foreach (var item in Items)
+ for (int i = 0; i < Items.Count; i++)
271
272
+ var item = Items[i];
273
if (_token.IsCancellationRequested)
274
return;
275
Add(item);
- OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item));
276
+ OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item, i));
277
278
279
public void RemoveAll(int Capacity = 512)
0 commit comments