Skip to content
Snippets Groups Projects
Commit 7a20807a authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Init in setWidget()

parent 214d8dcb
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,10 @@ namespace armarx
this->updateLayerElementProperties(item, this->layer->elements.at(item->text(0).toStdString()).data);
}
}));
widget->setColumnCount(2);
widget->setHeaderLabels({"Property", "Value"});
widget->setHeaderHidden(false);
}
void LayerInfoTree::registerVisualizerCallbacks(viz::CoinVisualizer& visualizer)
......@@ -77,9 +81,6 @@ namespace armarx
maxElementCount = maxElementCountDefault;
widget->clear();
widget->setColumnCount(2);
widget->setHeaderLabels({"Property", "Value"});
widget->setHeaderHidden(false);
if (!layer)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment