From: nds Date: Thu, 18 Jun 2015 08:00:30 +0000 (+0300) Subject: Preselection using in operations: using of external objects correction. X-Git-Tag: V_1.3.0~223 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad50208b9badd50c6c441f3fe20dcf2e03948e01;p=modules%2Fshaper.git Preselection using in operations: using of external objects correction. --- diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index a74c2758c..d4f209b15 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -203,7 +203,7 @@ void ModuleBase_WidgetMultiSelector::setObject(ObjectPtr theSelectedObject, AttributeSelectionListPtr aSelectionListAttr = std::dynamic_pointer_cast(aData->attribute(attributeID())); - ResultPtr aResult = std::dynamic_pointer_cast(aResult); + ResultPtr aResult = std::dynamic_pointer_cast(theSelectedObject); aSelectionListAttr->append(aResult, theShape); }