fix converting float list to string list in property editor
This commit is contained in:
@@ -2274,7 +2274,7 @@ QVariant PropertyFloatListItem::value(const App::Property* prop) const
|
||||
QStringList list;
|
||||
const std::vector<double>& value = static_cast<const App::PropertyFloatList*>(prop)->getValues();
|
||||
for (std::vector<double>::const_iterator jt = value.begin(); jt != value.end(); ++jt) {
|
||||
list << QString::number(*jt);
|
||||
list << QString::number(*jt, 'f', decimals());
|
||||
}
|
||||
|
||||
return QVariant(list);
|
||||
|
||||
Reference in New Issue
Block a user