From 816caf86eabe5d5a7a7471a740a212da2e7ad969 Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Sat, 27 May 2017 18:49:55 -0300 Subject: [PATCH] Better exception for SearchableListFilterControl's generic type argument not being an enum --- osu.Game/Overlays/SearchableList/SearchableListFilterControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Overlays/SearchableList/SearchableListFilterControl.cs b/osu.Game/Overlays/SearchableList/SearchableListFilterControl.cs index 54863e0219..50011e4b8e 100644 --- a/osu.Game/Overlays/SearchableList/SearchableListFilterControl.cs +++ b/osu.Game/Overlays/SearchableList/SearchableListFilterControl.cs @@ -30,7 +30,7 @@ namespace osu.Game.Overlays.SearchableList protected SearchableListFilterControl() { if (!typeof(T).IsEnum) - throw new InvalidOperationException("BrowseFilterControl only supports enums as the generic type argument"); + throw new InvalidOperationException("SearchableListFilterControl's sort tabs only support enums as the generic type argument"); RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y;