Salome HOME
Issue #2977: Impossible to select Group in Substract group
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_GroupSubstraction.cpp
index 18f0acad5f5e1ac63a8ad231f56059fd9fb0bcf2..9d39711ae52442c9ca2c1c2dc6233f60335210e8 100644 (file)
@@ -101,6 +101,9 @@ void CollectionPlugin_GroupSubstraction::execute()
     removeResults(0);
   }
   else {
+    // update the type of selection
+    updateGroupType(LIST_ID());
+
     GeomShapePtr aCompound = GeomAlgoAPI_CompoundBuilder::compound(aCut);
     aGroup->store(aCompound);
     setResult(aGroup);