Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PythonAPI] Use _fillAttribute() in some sketch functions
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetIntValue.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetIntValue.cpp
b/src/ModuleBase/ModuleBase_WidgetIntValue.cpp
index b92d5863f3a3d71ac9ac852bf6afcbe7a8b0bce9..308aef0ff7f2dc46f576e137a4c473ddc28f0098 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetIntValue.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetIntValue.cpp
@@
-142,10
+142,9
@@
QList<QWidget*> ModuleBase_WidgetIntValue::getControls() const
bool ModuleBase_WidgetIntValue::processEnter()
{
bool ModuleBase_WidgetIntValue::processEnter()
{
- bool isModified =
mySpinBox->isModified()
;
+ bool isModified =
getValueState() == ModifiedInPP
;
if (isModified) {
emit valuesChanged();
if (isModified) {
emit valuesChanged();
- mySpinBox->clearModified();
mySpinBox->selectAll();
}
return isModified;
mySpinBox->selectAll();
}
return isModified;