]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetMultiSelector.h
Salome HOME
Issue #2154: Multiselection field is cleared when trying to add another object
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.h
index 2fecf4ed46412deafbb965906a60dd236930aaf5..2e43e575d1f93c0f9382e81a342c513cfb0325c4 100755 (executable)
@@ -184,10 +184,12 @@ protected:
   /// \param theObject a model object, a set of shapes is searched by it
   /// \param theShape a shape to be in the set of the object shapes
   /// \param theGeomSelection a map built on selection
+  /// \param theWorkshop a current workshop
   /// \return boolean result
   static bool findInSelection(const ObjectPtr& theObject,
                             GeomShapePtr theShape,
-                            const std::map<ObjectPtr, std::set<GeomShapePtr> >& theGeomSelection);
+                            const std::map<ObjectPtr, std::set<GeomShapePtr> >& theGeomSelection,
+                            ModuleBase_IWorkshop* theWorkshop);
 
 protected:
   /// List control