mirror of https://github.com/ppy/osu
Fix song select crashes due to attempting to clear selection after load has already begun
This commit is contained in:
parent
aae98e6906
commit
c192a6a1d5
|
@ -1036,7 +1036,7 @@ private void updateYPositions()
|
|||
itemsCache.Validate();
|
||||
|
||||
// update and let external consumers know about selection loss.
|
||||
if (BeatmapSetsLoaded)
|
||||
if (BeatmapSetsLoaded && AllowSelection)
|
||||
{
|
||||
bool selectionLost = selectedBeatmapSet != null && selectedBeatmapSet.State.Value != CarouselItemState.Selected;
|
||||
|
||||
|
|
Loading…
Reference in New Issue