Copy z-Value when deep-copying a UBGraphicsPolygonItem

preferencesAboutTextFull
Craig Watson 9 years ago
parent f5d1c3857f
commit 2d796827a4
  1. 1
      src/domain/UBGraphicsPolygonItem.cpp

@ -197,6 +197,7 @@ void UBGraphicsPolygonItem::copyItemParameters(UBItem *copy) const
cp->setColorOnDarkBackground(this->colorOnDarkBackground());
cp->setColorOnLightBackground(this->colorOnLightBackground());
cp->setZValue(this->zValue());
cp->setData(UBGraphicsItemData::ItemLayerType, this->data(UBGraphicsItemData::ItemLayerType));
}
}

Loading…
Cancel
Save