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:
parent
2dcb726581
commit
c242a63b11
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user