1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:23:21 +08:00

Merge pull request #4324 from peppy/fix-direct-tab-activation

Remove limitation stopping search updates when no query present in direct
This commit is contained in:
Dean Herbert 2019-02-25 12:03:22 +09:00 committed by GitHub
commit e1f522fa44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,9 +273,6 @@ namespace osu.Game.Overlays
if (api == null) if (api == null)
return; return;
if (Header.Tabs.Current.Value == DirectTab.Search && (Filter.Search.Text == string.Empty || currentQuery.Value == string.Empty))
return;
previewTrackManager.StopAnyPlaying(this); previewTrackManager.StopAnyPlaying(this);
getSetsRequest = new SearchBeatmapSetsRequest(currentQuery.Value ?? string.Empty, getSetsRequest = new SearchBeatmapSetsRequest(currentQuery.Value ?? string.Empty,