Adjust nodes from the folder loader to use text from loaded file nodes.
This commit is contained in:
parent
bf02233106
commit
42c3275efc
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user