From ad50208b9badd50c6c441f3fe20dcf2e03948e01 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 18 Jun 2015 11:00:30 +0300 Subject: [PATCH] Preselection using in operations: using of external objects correction. --- src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2