X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetIntValue.cpp;h=308aef0ff7f2dc46f576e137a4c473ddc28f0098;hb=71a74e7993bcab222f1bf8deed1d141cab81bdf5;hp=b92d5863f3a3d71ac9ac852bf6afcbe7a8b0bce9;hpb=5ba2ac3f39478507bd781082adb879a43d4afe7e;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetIntValue.cpp b/src/ModuleBase/ModuleBase_WidgetIntValue.cpp index b92d5863f..308aef0ff 100644 --- a/src/ModuleBase/ModuleBase_WidgetIntValue.cpp +++ b/src/ModuleBase/ModuleBase_WidgetIntValue.cpp @@ -142,10 +142,9 @@ QList ModuleBase_WidgetIntValue::getControls() const bool ModuleBase_WidgetIntValue::processEnter() { - bool isModified = mySpinBox->isModified(); + bool isModified = getValueState() == ModifiedInPP; if (isModified) { emit valuesChanged(); - mySpinBox->clearModified(); mySpinBox->selectAll(); } return isModified;