- delete myEditor;
-}
-
-bool ModuleBase_WidgetEditor::storeValue(FeaturePtr theFeature) const
-{
- DataPtr aData = theFeature->data();
- AttributeDoublePtr aReal = aData->real(attributeID());
- bool isOk;
- double aValue = myEditor->text().toDouble(&isOk);
- if (isOk && aReal->value() != aValue) {
- //ModuleBase_WidgetPoint2D* that = (ModuleBase_WidgetPoint2D*) this;
- //bool isBlocked = that->blockSignals(true);
- aReal->setValue(aValue);
- Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_FEATURE_UPDATED));
- //that->blockSignals(isBlocked);
- }
- return true;