1
0
mirror of synced 2024-11-27 17:00:50 +01:00

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.RemoveAt(index);
parentNode.Nodes.Insert(index, newNode); parentNode.Nodes.Insert(index, newNode);
newNode.ImageKey = replaceNode.ImageKey; newNode.ImageKey = replaceNode.ImageKey;
newNode.SelectedImageKey = replaceNode.SelectedImageKey; newNode.SelectedImageKey = replaceNode.SelectedImageKey;
newNode.Text = replaceNode.Text; replaceNode.Text = newNode.Text;
if (newNode is ISingleTextureIconLoader) if (newNode is ISingleTextureIconLoader)
{ {