hasProductName = true;
setShapeName (aNewRefLabel, aShapeType, aShapeAttribs.Name, theLabel, theParentName);
}
+ else if (aShapeAttribs.Name.IsEmpty()
+ && !aRefShapeAttribs.Name.IsEmpty())
+ {
+ // copy name from Product
+ setShapeName (aNewLabel, aShapeType, aRefShapeAttribs.Name, theLabel, theParentName);
+ }
}
else
{