Salome HOME
Issue #2977: Impossible to select Group in Substract group
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_GroupAddition.cpp
index c27826ce850af6f1e8bdd791ae540b7a57b10ecf..042633cfe1b4fda26d06ab4b2e4e2345b6624ca6 100644 (file)
@@ -83,5 +83,8 @@ void CollectionPlugin_GroupAddition::execute()
   aCompound = aSubs.empty() ? GeomShapePtr() : GeomAlgoAPI_CompoundBuilder::compound(aSubs);
   aGroup->store(aCompound);
 
+  // update the type of selection
+  updateGroupType(LIST_ID());
+
   setResult(aGroup);
 }