Update grainline after selecting each type.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-03-01 07:10:04 +02:00
parent d47505b076
commit e3fdad1321

View File

@ -299,11 +299,17 @@ void VGrainlineItem::mousePressEvent(QGraphicsSceneMouseEvent* pME)
m_eMode = mMove; m_eMode = mMove;
SetOverrideCursor(cursorArrowCloseHand, 1, 1); SetOverrideCursor(cursorArrowCloseHand, 1, 1);
} }
setZValue(ACTIVE_Z);
Update();
} }
else if (m_moveType == OnlyMovable) else if (m_moveType == OnlyMovable)
{ {
m_eMode = mMove; m_eMode = mMove;
SetOverrideCursor(cursorArrowCloseHand, 1, 1); SetOverrideCursor(cursorArrowCloseHand, 1, 1);
setZValue(ACTIVE_Z);
Update();
} }
else else
{ {