+ fixes #0001484: Do not sort properties in alphabetical order
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user