mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-05 15:11:59 +08:00
Update version to v1.7.3 Update CommandVersion to v1.4.3
This commit is contained in:
1 parent
cd25afe0c7
commit
42e5c94601
7 files changed
+8799
-6591
No files matched your search
@@ -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