AttributeDoublePtr aReal = aData->real(attributeID());
aReal->setValue(mySpinBox->value());
std::string aTextRepr;
- if (mySpinBox->hasVariables()) {
+ if (mySpinBox->hasVariable()) {
aTextRepr = mySpinBox->text().toStdString();
}
aReal->setText(aTextRepr);