Fix bug with resize cursor.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-03-14 12:53:35 +02:00
parent 74ee767a31
commit cf47ab8aa9

View File

@ -637,7 +637,7 @@ void VTextGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* pME)
*/ */
void VTextGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* pHE) void VTextGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent* pHE)
{ {
if (m_eMode == mMove || m_eMode == mResize) if (m_eMode == mResize && m_moveType & IsResizable)
{ {
if (m_rectResize.contains(pHE->pos()) == true) if (m_rectResize.contains(pHE->pos()) == true)
{ {