diff --git a/source/RobotAPI/gui-plugins/SkillManagerPlugin/aronTreeWidget/visitors/AronTreeWidgetConverter.cpp b/source/RobotAPI/gui-plugins/SkillManagerPlugin/aronTreeWidget/visitors/AronTreeWidgetConverter.cpp index fbdc653abc5fa7cab715fc8abc7aa200de0243c1..7d78147bca4aa47088e8a605e7494f38b2ea5776 100644 --- a/source/RobotAPI/gui-plugins/SkillManagerPlugin/aronTreeWidget/visitors/AronTreeWidgetConverter.cpp +++ b/source/RobotAPI/gui-plugins/SkillManagerPlugin/aronTreeWidget/visitors/AronTreeWidgetConverter.cpp @@ -85,7 +85,21 @@ namespace armarx void AronTreeWidgetConverterVisitor::visitAronVariant(const aron::type::ListPtr& i) { - // TODO + auto createdAronList = std::make_shared<aron::data::List>(i->getPath()); + createdAron = createdAronList; + QTreeWidgetItem* el = parentItem->child(index); + + for (int x = 0; x < el->childCount(); ++x) + { + auto it = el->child(x); + AronTreeWidgetConverterVisitor v(el, x); + aron::type::visit(v, i->getAcceptedType()); + + if (v.createdAron) + { + createdAronList->addElement(v.createdAron); + } + } } void