fixed eraser issue on strokes

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 87c48bbbf8
commit fcae8c57c9
  1. 3
      src/domain/UBGraphicsPolygonItem.cpp

@ -174,7 +174,7 @@ QColor UBGraphicsPolygonItem::color() const
UBItem* UBGraphicsPolygonItem::deepCopy() const
{
UBGraphicsPolygonItem* copy = new UBGraphicsPolygonItem();
UBGraphicsPolygonItem* copy = new UBGraphicsPolygonItem(polygon(), 0);
copyItemParameters(copy);
return copy;
}
@ -185,7 +185,6 @@ void UBGraphicsPolygonItem::copyItemParameters(UBItem *copy) const
UBGraphicsPolygonItem *cp = dynamic_cast<UBGraphicsPolygonItem*>(copy);
if (cp)
{
cp->setPolygon(polygon());
cp->mOriginalLine = this->mOriginalLine;
cp->mOriginalWidth = this->mOriginalWidth;
cp->mIsNominalLine = this->mIsNominalLine;

Loading…
Cancel
Save