Salome HOME
Copyright update 2020
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_GroupAddition.cpp
index c27826ce850af6f1e8bdd791ae540b7a57b10ecf..4fb6cab7f7c1219116f6d42b64f5f1430b11b4f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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);
 }