Fix selecting piece labels and grainline.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-29 15:58:58 +02:00
parent 9aad1b43cb
commit 20e4ab1980

View File

@ -1274,8 +1274,9 @@ VToolSeamAllowance::VToolSeamAllowance(const VToolSeamAllowanceInitData &initDat
{ {
VPiece detail = initData.data->GetPiece(initData.id); VPiece detail = initData.data->GetPiece(initData.id);
ReinitInternals(detail, m_sceneDetails); ReinitInternals(detail, m_sceneDetails);
this->setFlag(QGraphicsItem::ItemIsMovable, true); AllowSelecting(true);
this->setFlag(QGraphicsItem::ItemIsSelectable, true); EnableToolMove(true);
AllowHover(true);
RefreshGeometry(); RefreshGeometry();
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true); this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);