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
Open transaction before setCurrentFeatuire if it is not opened
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_ModelWidget.cpp
diff --git
a/src/ModuleBase/ModuleBase_ModelWidget.cpp
b/src/ModuleBase/ModuleBase_ModelWidget.cpp
index c16c0b13f597d2911b9e6b1e35ac56d44c27d5e7..130e8940476f581a582483dffa5778fbacc0968d 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ModelWidget.cpp
+++ b/
src/ModuleBase/ModuleBase_ModelWidget.cpp
@@
-124,6
+124,11
@@
void ModuleBase_ModelWidget::activate()
activateCustom();
}
activateCustom();
}
+void ModuleBase_ModelWidget::setDefaultValue(const std::string& theValue)
+{
+ myDefaultValue = theValue;
+}
+
bool ModuleBase_ModelWidget::storeValue()
{
emit beforeValuesChanged();
bool ModuleBase_ModelWidget::storeValue()
{
emit beforeValuesChanged();