mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
When moving a widget, save the reference to the hierarchy lookup map...
--HG-- branch : dfighter-tools
This commit is contained in:
parent
0055e2dd91
commit
22d9accae6
1 changed files with 4 additions and 2 deletions
|
@ -286,6 +286,8 @@ namespace GUIEditor
|
||||||
item->setSelected( true );
|
item->setSelected( true );
|
||||||
newParent->addChild( item );
|
newParent->addChild( item );
|
||||||
|
|
||||||
|
// Add reference to new item
|
||||||
|
widgetHierarchyMap[ newid ] = item;
|
||||||
|
|
||||||
selectItem( item );
|
selectItem( item );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue