Don't show invalid items in list at all

This commit is contained in:
Cara 2020-05-18 19:06:24 +09:30
parent 94c6546461
commit 219b4a3011

View file

@ -120,7 +120,7 @@ namespace Dalamud.Interface
asyncEnum = asyncEnum.Where(
x => (x.Name.ToLower().Contains(this.searchText.ToLower()) ||
int.TryParse(this.searchText, out var parsedId) &&
parsedId == x.RowId));
parsedId == x.RowId) && x.Icon < 65000);
}
if (this.currentKind != 0)