mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 01:03:15 +08:00
Fix collection dropdown crashing when all collections are deleted at once
This commit is contained in:
@@ -74,7 +74,7 @@ namespace osu.Game.Collections
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (int i in changes.DeletedIndices)
|
||||
foreach (int i in changes.DeletedIndices.OrderByDescending(i => i))
|
||||
filters.RemoveAt(i + 1);
|
||||
|
||||
foreach (int i in changes.InsertedIndices)
|
||||
|
||||
Reference in New Issue
Block a user