// it is not obligatory to be ignored when property panel tries to activate next active widget
// but if focus is moved to this control, it can accept it.
myIsObligatory = false;
- if (defaultValues.contains(myFeatureId))
- myDefValue = defaultValues[myFeatureId];
+ if (defaultValues.contains(myFeatureId + attributeID()))
+ myDefValue = defaultValues[myFeatureId + attributeID()];
}
ModuleBase_PagedContainer::~ModuleBase_PagedContainer()
void ModuleBase_PagedContainer::onFeatureAccepted()
{
- defaultValues[myFeatureId] = myDefValue;
+ defaultValues[myFeatureId + attributeID()] = myDefValue;
}