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
The flushCreated/flushUpdated are obsolete and nobody uses them.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetEditor.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetEditor.cpp
b/src/ModuleBase/ModuleBase_WidgetEditor.cpp
index 6d5f906533e5c19d99745ae0f3ee190259d0f255..07c59651de695bdd6de1d735644fe43719c550b2 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetEditor.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetEditor.cpp
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModuleBase_WidgetEditor.cpp
// Created: 25 Apr 2014
// Author: Natalia ERMOLAEVA
// File: ModuleBase_WidgetEditor.cpp
// Created: 25 Apr 2014
// Author: Natalia ERMOLAEVA
@@
-76,9
+78,7
@@
void ModuleBase_WidgetEditor::showPopupEditor()
aValue = editedValue(aValue, isDone);
if (isDone) {
aValue = editedValue(aValue, isDone);
if (isDone) {
- bool isBlocked = mySpinBox->blockSignals(true);
- mySpinBox->setValue(aValue);
- mySpinBox->blockSignals(isBlocked);
+ ModuleBase_Tools::setSpinValue(mySpinBox, aValue);
}
emit valuesChanged();
emit focusOutWidget(this);
}
emit valuesChanged();
emit focusOutWidget(this);