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
#1083 errors in parameter
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetIntValue.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetIntValue.cpp
b/src/ModuleBase/ModuleBase_WidgetIntValue.cpp
index b92d5863f3a3d71ac9ac852bf6afcbe7a8b0bce9..4cae38f12f8341ae6946221d00cc96c94c92d5a8 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetIntValue.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetIntValue.cpp
@@
-142,10
+142,11
@@
QList<QWidget*> ModuleBase_WidgetIntValue::getControls() const
bool ModuleBase_WidgetIntValue::processEnter()
{
bool ModuleBase_WidgetIntValue::processEnter()
{
- bool isModified = mySpinBox->isModified();
+ bool isModified = getValueState() == ModifiedInPP;
+ //bool isModified = mySpinBox->isModified();
if (isModified) {
emit valuesChanged();
if (isModified) {
emit valuesChanged();
- mySpinBox->clearModified();
+
//
mySpinBox->clearModified();
mySpinBox->selectAll();
}
return isModified;
mySpinBox->selectAll();
}
return isModified;