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

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