Skip to content
Snippets Groups Projects
Commit f1cff99e authored by Peter Albrecht's avatar Peter Albrecht
Browse files

Made compilable

parent 594202e2
No related branches found
No related tags found
1 merge request!406Refactor skill memory GUI
...@@ -98,7 +98,12 @@ namespace armarx::skills::gui ...@@ -98,7 +98,12 @@ namespace armarx::skills::gui
QTreeWidgetItem* previous) QTreeWidgetItem* previous)
{ {
// update internal state // update internal state
this->selectedExecution.skillExecutionId = *current; SkillExecutionTreeWidgetItem* selected =
dynamic_cast<SkillExecutionTreeWidgetItem*>(current);
if (selected)
{
this->selectedExecution.skillExecutionId = selected->getExecutionId();
}
} }
void void
......
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