Fix bug with rotation mode.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-03-14 11:24:36 +02:00
parent c271a81b1d
commit 2eac3e0643

View File

@ -615,7 +615,7 @@ void VTextGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* pME)
}
else
{ // in rotate mode, if user did just press/release, switch to move mode
if (bShort == true)
if (bShort == true && (m_moveType & IsMovable || m_moveType & IsResizable))
{
m_eMode = mMove;
}