mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-22 20:09:46 +08:00
Add Gadget(zh-cn only)!!
Update Spawns page, Subdivided monster types
This commit is contained in:
@@ -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