]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Send update object on selection acceptance
authorvsv <vitaly.smetannikov@opencascade.com>
Wed, 22 Oct 2014 12:14:16 +0000 (16:14 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Wed, 22 Oct 2014 12:14:16 +0000 (16:14 +0400)
src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp

index 84cfee206ca66ae7fa68db6fa094c59f7f6988fc..785d6b6f26320df71932d9699d12333997286c4b 100644 (file)
@@ -130,8 +130,10 @@ bool ModuleBase_WidgetShapeSelector::storeValue() const
       boost::dynamic_pointer_cast<ModelAPI_AttributeSelection>(aData->attribute(attributeID()));
 
     ResultPtr aBody = boost::dynamic_pointer_cast<ModelAPI_Result>(mySelectedObject);
-    if (aBody)
+    if (aBody) {
       aSelect->setValue(aBody, myShape);
+      updateObject(myFeature);
+    }
   } else {
     boost::shared_ptr<ModelAPI_AttributeReference> aRef = 
       boost::dynamic_pointer_cast<ModelAPI_AttributeReference>(aData->attribute(attributeID()));