}
aAttr->setText(aXText, aYText, aZText);
} else {
+ aAttr->setText("", "", "");
aAttr->setValue(myXSpin->value(), myYSpin->value(), myZSpin->value());
}
} else {
myYSpin->setValue(myDefaultValue[1]);
myZSpin->setValue(myDefaultValue[2]);
}
+ setValueState(Stored);
return true;
}
return false;
ModuleBase_ModelWidget* aNewFocusMWidget = ModuleBase_ModelWidget::findModelWidget(this,
aNewFocusWidget);
if (aNewFocusMWidget) {
- if (aFocusMWidget) {
+ if (aFocusMWidget && (aFocusMWidget != aNewFocusMWidget)) {
aFocusMWidget->setHighlighted(false);
}
aNewFocusMWidget->emitFocusInWidget();