1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 03:31:54 +08:00

Merge pull request #16830 from peppy/fix-playlist-selection-crash

Fix playlist overlay crash when pressing enter with no selection
This commit is contained in:
Dan Balasescu
2022-02-09 10:48:51 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -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();