Commit 64002a17 authored by Craig Watson's avatar Craig Watson

Set zValue during deepCopy for W3C widget and curtain item

parent 67522011
......@@ -1229,6 +1229,8 @@ void UBGraphicsW3CWidgetItem::copyItemParameters(UBItem *copy) const
{
cp->setDatastoreEntry(key, mDatastore.value(key));
}
cp->setZValue(this->zValue());
}
}
......@@ -167,6 +167,7 @@ void UBGraphicsCurtainItem::copyItemParameters(UBItem *copy) const
cp->setFlag(QGraphicsItem::ItemIsMovable, true);
cp->setFlag(QGraphicsItem::ItemIsSelectable, true);
cp->setData(UBGraphicsItemData::ItemLayerType, this->data(UBGraphicsItemData::ItemLayerType));
cp->setZValue(this->zValue());
}
}
......
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