When moving a widget, save the reference to the hierarchy lookup map...
This commit is contained in:
parent
89e86d2c7b
commit
e3327c854b
1 changed files with 4 additions and 2 deletions
|
@ -286,6 +286,8 @@ namespace GUIEditor
|
|||
item->setSelected( true );
|
||||
newParent->addChild( item );
|
||||
|
||||
// Add reference to new item
|
||||
widgetHierarchyMap[ newid ] = item;
|
||||
|
||||
selectItem( item );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue