Fixup refs grouping

This has been broken at df59649a18
This commit is contained in:
Juergen Spitzmueller 2022-12-04 15:32:47 +01:00
parent 7bdf372ecc
commit abd69b06f4

View File

@ -487,8 +487,8 @@ void GuiRef::redoRefs()
&& (!ref.mid(1).contains(":") || ref.left(1).contains(":")))) {
QTreeWidgetItem * child =
new QTreeWidgetItem(item);
item->setText(0, refsAsStrings.at(j));
item->setData(0, Qt::UserRole, ref);
child->setText(0, refsAsStrings.at(j));
child->setData(0, Qt::UserRole, ref);
item->addChild(child);
}
}