if (isComputedDefault()) {
if (myFeature->compute(myAttributeID)) {
restoreValue();
- }
+ }
}
else {
storeValue();
if (getControls().contains(aWidget)) {
emit focusInWidget(this);
}
- }
+ }
// pass the event on to the parent class
return QObject::eventFilter(theObject, theEvent);