1
0
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:
Dan Balasescu 2022-02-09 10:48:51 +09:00 committed by GitHub
commit 54b41181d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();