From: vsv Date: Wed, 22 Oct 2014 12:14:16 +0000 (+0400) Subject: Send update object on selection acceptance X-Git-Tag: V_0.5~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96744884a641cb450f1477ba6dbc4e9c4a60aad9;p=modules%2Fshaper.git Send update object on selection acceptance --- diff --git a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp index 84cfee206..785d6b6f2 100644 --- a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp @@ -130,8 +130,10 @@ bool ModuleBase_WidgetShapeSelector::storeValue() const boost::dynamic_pointer_cast(aData->attribute(attributeID())); ResultPtr aBody = boost::dynamic_pointer_cast(mySelectedObject); - if (aBody) + if (aBody) { aSelect->setValue(aBody, myShape); + updateObject(myFeature); + } } else { boost::shared_ptr aRef = boost::dynamic_pointer_cast(aData->attribute(attributeID()));