From: nds Date: Fri, 30 Oct 2015 07:31:18 +0000 (+0300) Subject: Activating of another widget by hands should be performed only after store the curren... X-Git-Tag: V_2.0.0_alfa1~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f2007b396e10d40e2fe11383238b6847abc7b11;p=modules%2Fshaper.git Activating of another widget by hands should be performed only after store the current widget value ot the model only when the operation sate is Modified in Property Panel. --- diff --git a/src/ModuleBase/ModuleBase_ModelWidget.cpp b/src/ModuleBase/ModuleBase_ModelWidget.cpp index 7f7e1fa14..db4a41f66 100644 --- a/src/ModuleBase/ModuleBase_ModelWidget.cpp +++ b/src/ModuleBase/ModuleBase_ModelWidget.cpp @@ -132,6 +132,8 @@ void ModuleBase_ModelWidget::activate() void ModuleBase_ModelWidget::deactivate() { myIsValueStateBlocked = false; + if (myState == ModifiedInPP) + storeValue(); myState = Stored; }