Use method group

This commit is contained in:
Cinder
2021-12-09 11:45:23 -06:00
parent ca9092bb79
commit a2d38c2013
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ namespace OpenMetaverse.GUI
/// </summary>
public void ClearNodes()
{
if (this.InvokeRequired) this.BeginInvoke((MethodInvoker)delegate { ClearNodes(); });
if (this.InvokeRequired) this.BeginInvoke((MethodInvoker)ClearNodes);
else this.Nodes.Clear();
}