From 0f2007b396e10d40e2fe11383238b6847abc7b11 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 30 Oct 2015 10:31:18 +0300 Subject: [PATCH] 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. --- src/ModuleBase/ModuleBase_ModelWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.2