mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +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:
commit
54b41181d6
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user