aProp = theData->getProperty(DOUBLE_WDG_DFLT);
double aDefVal = QString::fromStdString(aProp).toDouble(&isOk);
- myHasDefaultValue = isOk;
if (isOk) {
mySpinBox->setValue(aDefVal);
}
{
DataPtr aData = myFeature->data();
AttributeDoublePtr aReal = aData->real(attributeID());
- if (aReal->value() != mySpinBox->value()) {
- aReal->setValue(mySpinBox->value());
- updateObject(myFeature);
- }
+ aReal->setValue(mySpinBox->value());
+ updateObject(myFeature);
return true;
}