mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 15:25:54 +02:00
more scripting features (dynamic fields)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user