Salome HOME
Fix and unit test for the issue #1064
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeSelectionList.h
index b12aa518d54daaf898b7b79168e76be2016304b2..e2cad1e1f7404176c8209cf3ecc6b91f0aaa1740 100644 (file)
@@ -29,8 +29,8 @@ class ModelAPI_AttributeSelectionList : public ModelAPI_Attribute
                       const bool theTemporarily = false) = 0;
 
   /// Adds the new reference to the end of the list by the naming name of the selected shape
-  /// The type of shape is taken from the current selection type
-  virtual void append(std::string theNamingName) = 0;
+  /// The type of shape is taken from the current selection type if the given is empty
+  virtual void append(const std::string theNamingName, const std::string& theType = "") = 0;
 
   /// Removes the last element in the list
   virtual void removeLast() = 0;