more scripting features (dynamic fields)

This commit is contained in:
Eduardo Bart
2011-05-02 01:13:57 -03:00
parent f7bb044f48
commit 9e90ae0ee4
19 changed files with 378 additions and 146 deletions

View File

@@ -66,6 +66,9 @@ void UIContainer::removeChild(UIElementPtr child)
if(m_focusedElement == child)
setFocusedElement(UIElementPtr());
// try to unlock
unlockElement(child);
// remove from children list
m_children.remove(child);