mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 14:10:33 +08:00
Fix playlist overlay null reference when attempting an empty selection
As reported at https://github.com/ppy/osu/discussions/16829.
This commit is contained in:
@@ -85,7 +85,7 @@ namespace osu.Game.Overlays.Music
|
||||
|
||||
filter.Search.OnCommit += (sender, newText) =>
|
||||
{
|
||||
list.FirstVisibleSet.PerformRead(set =>
|
||||
list.FirstVisibleSet?.PerformRead(set =>
|
||||
{
|
||||
BeatmapInfo toSelect = set.Beatmaps.FirstOrDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user