Update AdvancedCollectionView.cs

This commit is contained in:
DismissedLight
2024-07-17 13:46:57 +08:00
parent 1ea92413f9
commit 4e7f8e2a97

View File

@@ -622,7 +622,7 @@ internal class AdvancedCollectionView<T> : IAdvancedCollectionView<T>, INotifyPr
if (i < -1 || i >= view.Count)
{
Debugger.Break(); // Figure out how this will hit.
// view is empty, i is 0, current pos is -1
OnPropertyChanged(nameof(CurrentItem));
return false;
}