diff --git a/osu.Game/Overlays/Music/PlaylistOverlay.cs b/osu.Game/Overlays/Music/PlaylistOverlay.cs index 00d66053a7..0cae9db2e6 100644 --- a/osu.Game/Overlays/Music/PlaylistOverlay.cs +++ b/osu.Game/Overlays/Music/PlaylistOverlay.cs @@ -85,7 +85,7 @@ namespace osu.Game.Overlays.Music beatmapBacking.BindTo(game.Beatmap); - filter.Search.OnCommit = delegate { + filter.Search.OnCommit = (sender, newText) => { var beatmap = list.FirstVisibleSet?.Beatmaps?.ValueAtOrDefault(0); if (beatmap != null) playSpecified(beatmap); }; diff --git a/osu.Game/Screens/Select/SearchTextBox.cs b/osu.Game/Screens/Select/SearchTextBox.cs index 743b1fc5c7..d451f63a96 100644 --- a/osu.Game/Screens/Select/SearchTextBox.cs +++ b/osu.Game/Screens/Select/SearchTextBox.cs @@ -48,7 +48,6 @@ namespace osu.Game.Screens.Select case Key.Up: case Key.Down: return false; - case Key.Enter: if (!AllowCommit) return false; break;