]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeSelectionList.cpp
Salome HOME
Multiple fixes (issue #1757 , issue #1799 , issue #1842 , etc):
[modules/shaper.git] / src / Model / Model_AttributeSelectionList.cpp
index 0dc8d7bd6fda2d74a65c950082795c11004c2b4e..81ce0984cb9a856808b9439a51fdaee82f571fb5 100644 (file)
@@ -263,6 +263,7 @@ std::shared_ptr<ModelAPI_AttributeSelection>
   // (if attribute is deleted and created, the abort updates attriute and makes the Attr invalid)
   std::shared_ptr<Model_AttributeSelection> aNewAttr = 
     std::shared_ptr<Model_AttributeSelection>(new Model_AttributeSelection(aLabel));
+  aNewAttr->setID(id());
   if (owner()) {
     aNewAttr->setObject(owner());
   }