1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:02:55 +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:
Dean Herbert 2022-02-09 10:16:43 +09:00
parent 2dcb726581
commit c242a63b11

View File

@ -85,7 +85,7 @@ namespace osu.Game.Overlays.Music
filter.Search.OnCommit += (sender, newText) => filter.Search.OnCommit += (sender, newText) =>
{ {
list.FirstVisibleSet.PerformRead(set => list.FirstVisibleSet?.PerformRead(set =>
{ {
BeatmapInfo toSelect = set.Beatmaps.FirstOrDefault(); BeatmapInfo toSelect = set.Beatmaps.FirstOrDefault();