diff --git a/src/domain/UBGraphicsGroupContainerItem.cpp b/src/domain/UBGraphicsGroupContainerItem.cpp index eb76e2ff..cef3ca68 100644 --- a/src/domain/UBGraphicsGroupContainerItem.cpp +++ b/src/domain/UBGraphicsGroupContainerItem.cpp @@ -195,7 +195,6 @@ UBGraphicsGroupContainerItem *UBGraphicsGroupContainerItem::deepCopy() const copy->setUuid(this->uuid()); // this is OK for now as long as Widgets are imutable - copyItemParameters(copy); foreach (QGraphicsItem *it, childItems()) { UBItem *childAsUBItem = dynamic_cast(it); @@ -204,6 +203,7 @@ UBGraphicsGroupContainerItem *UBGraphicsGroupContainerItem::deepCopy() const copy->addToGroup(cloneItem); } } + copyItemParameters(copy); return copy; }