refresh root document indices on GUI::add
This commit is contained in:
parent
47939c0527
commit
140841f65c
@ -302,6 +302,7 @@ bool GUI::isFocusCaught() const {
|
||||
}
|
||||
|
||||
void GUI::add(std::shared_ptr<UINode> node) {
|
||||
UINode::getIndices(node, rootDocument->getMapWriteable());
|
||||
container->add(std::move(node));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user