Add Gadget(zh-cn only)!!

Update Spawns page, Subdivided monster types
This commit is contained in:
2022-10-29 21:10:03 +08:00
parent 8d42ddee10
commit aa075f5f91
31 changed files with 22301 additions and 5829 deletions

View File

@@ -32,7 +32,10 @@ namespace GrasscutterTools.Utils
filter = filter.Trim();
listBox.BeginUpdate();
listBox.Items.Clear();
listBox.Items.AddRange(source.Where(n => n.Contains(filter)).ToArray());
if (string.IsNullOrEmpty(filter))
listBox.Items.AddRange(source);
else
listBox.Items.AddRange(source.Where(n => n.Contains(filter)).ToArray());
listBox.EndUpdate();
}
}