mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-22 20:09:46 +08:00
Update version to v1.7.3 Update CommandVersion to v1.4.3
This commit is contained in:
@@ -32,10 +32,13 @@ namespace GrasscutterTools.Utils
|
||||
filter = filter.Trim();
|
||||
listBox.BeginUpdate();
|
||||
listBox.Items.Clear();
|
||||
if (string.IsNullOrEmpty(filter))
|
||||
listBox.Items.AddRange(source);
|
||||
else
|
||||
listBox.Items.AddRange(source.Where(n => n.Contains(filter)).ToArray());
|
||||
if (source != null && source.Length > 0)
|
||||
{
|
||||
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