]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Activating of another widget by hands should be performed only after store the curren...
authornds <nds@opencascade.com>
Fri, 30 Oct 2015 07:31:18 +0000 (10:31 +0300)
committernds <nds@opencascade.com>
Mon, 2 Nov 2015 09:52:16 +0000 (12:52 +0300)
src/ModuleBase/ModuleBase_ModelWidget.cpp

index 7f7e1fa1487630f337e77b48450936a964600a3b..db4a41f66e0d912ac4d8098d3af523f1cbb380b5 100644 (file)
@@ -132,6 +132,8 @@ void ModuleBase_ModelWidget::activate()
 void ModuleBase_ModelWidget::deactivate()
 {
   myIsValueStateBlocked = false;
+  if (myState == ModifiedInPP)
+    storeValue();
   myState = Stored;
 }