+ fixes #0001484: Do not sort properties in alphabetical order

This commit is contained in:
wmayer
2014-03-21 15:04:35 +01:00
parent 1c9c0d2e20
commit 2bfb120ff7
6 changed files with 75 additions and 33 deletions

View File

@@ -89,7 +89,7 @@ void PropertyEditor::commitData (QWidget * editor)
committing = false;
if (delaybuild) {
delaybuild = false;
propertyModel->buildUp(std::map<std::string, std::vector<App::Property*> >());
propertyModel->buildUp(PropertyModel::PropertyList());
}
}
@@ -126,7 +126,7 @@ void PropertyEditor::drawBranches(QPainter *painter, const QRect &rect, const QM
//painter->setPen(savedPen);
}
void PropertyEditor::buildUp(const std::map<std::string, std::vector<App::Property*> >& props)
void PropertyEditor::buildUp(const PropertyModel::PropertyList& props)
{
if (committing) {
Base::Console().Warning("While committing the data to the property the selection has changed.\n");