Commit cf9d3850 authored by Claudio Valerio's avatar Claudio Valerio

fixed locked status

parent 39a12840
...@@ -195,7 +195,6 @@ UBGraphicsGroupContainerItem *UBGraphicsGroupContainerItem::deepCopy() const ...@@ -195,7 +195,6 @@ UBGraphicsGroupContainerItem *UBGraphicsGroupContainerItem::deepCopy() const
copy->setUuid(this->uuid()); // this is OK for now as long as Widgets are imutable copy->setUuid(this->uuid()); // this is OK for now as long as Widgets are imutable
copyItemParameters(copy);
foreach (QGraphicsItem *it, childItems()) { foreach (QGraphicsItem *it, childItems()) {
UBItem *childAsUBItem = dynamic_cast<UBItem*>(it); UBItem *childAsUBItem = dynamic_cast<UBItem*>(it);
...@@ -204,6 +203,7 @@ UBGraphicsGroupContainerItem *UBGraphicsGroupContainerItem::deepCopy() const ...@@ -204,6 +203,7 @@ UBGraphicsGroupContainerItem *UBGraphicsGroupContainerItem::deepCopy() const
copy->addToGroup(cloneItem); copy->addToGroup(cloneItem);
} }
} }
copyItemParameters(copy);
return copy; return copy;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment