Adjust nodes from the folder loader to use text from loaded file nodes.

This commit is contained in:
KillzXGaming 2020-08-31 17:20:10 -04:00
parent bf02233106
commit 42c3275efc

View file

@ -89,10 +89,9 @@ namespace Toolbox.Library
parentNode.Nodes.RemoveAt(index);
parentNode.Nodes.Insert(index, newNode);
newNode.ImageKey = replaceNode.ImageKey;
newNode.SelectedImageKey = replaceNode.SelectedImageKey;
newNode.Text = replaceNode.Text;
replaceNode.Text = newNode.Text;
if (newNode is ISingleTextureIconLoader)
{