diff --git a/src/graphics/ui/GUI.cpp b/src/graphics/ui/GUI.cpp index 79e9fd63..3ab438b1 100644 --- a/src/graphics/ui/GUI.cpp +++ b/src/graphics/ui/GUI.cpp @@ -302,6 +302,7 @@ bool GUI::isFocusCaught() const { } void GUI::add(std::shared_ptr node) { + UINode::getIndices(node, rootDocument->getMapWriteable()); container->add(std::move(node)); }