implement PropertyConstraintListItem::assignProperty to add item for each datum constraint

This commit is contained in:
wmayer
2017-12-30 19:49:34 +01:00
parent 6ee4be519d
commit bd4736bf0d
5 changed files with 114 additions and 8 deletions

View File

@@ -208,11 +208,11 @@ QModelIndex PropertyModel::propertyIndexFromPath(const QStringList& path) const
void PropertyModel::buildUp(const PropertyModel::PropertyList& props)
{
beginResetModel();
// fill up the listview with the properties
rootItem->reset();
beginResetModel();
// sort the properties into their groups
std::map<std::string, std::vector<std::vector<App::Property*> > > propGroup;
PropertyModel::PropertyList::const_iterator jt;