mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
Update AdvancedCollectionView.cs
This commit is contained in:
@@ -622,7 +622,7 @@ internal class AdvancedCollectionView<T> : IAdvancedCollectionView<T>, INotifyPr
|
|||||||
|
|
||||||
if (i < -1 || i >= view.Count)
|
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));
|
OnPropertyChanged(nameof(CurrentItem));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user