Fix bug. Set correct brush pattern for seam allowance.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-03 15:59:16 +03:00
parent 349a5cade0
commit 2be8bf2206

View File

@ -1131,8 +1131,6 @@ VToolSeamAllowance::VToolSeamAllowance(VAbstractPattern *doc, VContainer *data,
this->setFlag(QGraphicsItem::ItemIsSelectable, true); this->setFlag(QGraphicsItem::ItemIsSelectable, true);
RefreshGeometry(); RefreshGeometry();
m_seamAllowance->setBrush(QBrush(Qt::Dense7Pattern));
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true); this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
this->setFlag(QGraphicsItem::ItemIsFocusable, true);// For keyboard input focus this->setFlag(QGraphicsItem::ItemIsFocusable, true);// For keyboard input focus