setCalculatedValue(theX, 0, 0);
} else if (x() != theX) {
myExpression[0]->setValue(theX);
+ myExpression[0]->setText(""); // uninitialize the text
owner()->data()->sendAttributeUpdated(this);
}
}
setCalculatedValue(0, theY, 0);
} else if (y() != theY) {
myExpression[1]->setValue(theY);
+ myExpression[1]->setText(""); // uninitialize the text
owner()->data()->sendAttributeUpdated(this);
}
}
}
else if (z() != theZ) {
myExpression[2]->setValue(theZ);
+ myExpression[2]->setText(""); // uninitialize the text
owner()->data()->sendAttributeUpdated(this);
}
}