mirror of https://github.com/ppy/osu
Merge pull request #25821 from bdach/fix-collection-dropdown-crash
Fix collections dropdown crashing during storage migration
This commit is contained in:
commit
c466775f78
|
@ -66,6 +66,7 @@ private void collectionsChanged(IRealmCollection<BeatmapCollection> collections,
|
|||
{
|
||||
if (changes == null)
|
||||
{
|
||||
filters.Clear();
|
||||
filters.Add(allBeatmapsItem);
|
||||
filters.AddRange(collections.Select(c => new CollectionFilterMenuItem(c.ToLive(realm))));
|
||||
if (ShowManageCollectionsItem)
|
||||
|
|
Loading…
Reference in New Issue