From cf47ab8aa94452ac290d28ce985ac1cb6e714c3f Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 14 Mar 2017 12:53:35 +0200 Subject: [PATCH] Fix bug with resize cursor. --HG-- branch : feature --- src/libs/vwidgets/vtextgraphicsitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vwidgets/vtextgraphicsitem.cpp b/src/libs/vwidgets/vtextgraphicsitem.cpp index b5be9b83b..014282088 100644 --- a/src/libs/vwidgets/vtextgraphicsitem.cpp +++ b/src/libs/vwidgets/vtextgraphicsitem.cpp @@ -637,7 +637,7 @@ void VTextGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* pME) */ 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) {