mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-08-01 15:49:14 +08:00
Update FormMain.cs
This commit is contained in:
parent
b0a1c5d7a3
commit
8c03726cb0
@ -781,10 +781,10 @@ namespace GrasscutterTools.Forms
|
||||
RbEntityNPC;
|
||||
if (rb.Checked)
|
||||
{
|
||||
ListGameItems.BeginUpdate();
|
||||
ListEntity.BeginUpdate();
|
||||
ListEntity.Items.Clear();
|
||||
ListEntity.Items.AddRange(rb.Tag as string[]);
|
||||
ListGameItems.EndUpdate();
|
||||
ListEntity.EndUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
@ -795,10 +795,10 @@ namespace GrasscutterTools.Forms
|
||||
RbEntityMonster.Checked ? RbEntityMonster :
|
||||
RbEntityNPC;
|
||||
var data = rb.Tag as string[];
|
||||
ListGameItems.BeginUpdate();
|
||||
ListEntity.BeginUpdate();
|
||||
ListEntity.Items.Clear();
|
||||
ListEntity.Items.AddRange(data.Where(n => n.Contains(filter)).ToArray());
|
||||
ListGameItems.EndUpdate();
|
||||
ListEntity.EndUpdate();
|
||||
}
|
||||
|
||||
private bool GenSpawnEntityCommand()
|
||||
|
Loading…
Reference in New Issue
Block a user