diff --git a/src/Gui/propertyeditor/PropertyModel.cpp b/src/Gui/propertyeditor/PropertyModel.cpp index 483ea9485..a1f2f759e 100644 --- a/src/Gui/propertyeditor/PropertyModel.cpp +++ b/src/Gui/propertyeditor/PropertyModel.cpp @@ -211,6 +211,8 @@ void PropertyModel::buildUp(const PropertyModel::PropertyList& props) // fill up the listview with the properties rootItem->reset(); + beginResetModel(); + // sort the properties into their groups std::map > > propGroup; PropertyModel::PropertyList::const_iterator jt; @@ -259,7 +261,8 @@ void PropertyModel::buildUp(const PropertyModel::PropertyList& props) } } - reset(); + endResetModel(); +// reset(); } void PropertyModel::updateProperty(const App::Property& prop)