mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-05 15:11:59 +08:00
Add Gadget(zh-cn only)!!
Update Spawns page, Subdivided monster types
This commit is contained in:
1 parent
8d42ddee10
commit
aa075f5f91
31 files changed
+22301
-5829
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user