ui: Fixed right click on edge activates it on Windows

This commit is contained in:
Eberhard Graether
2019-01-21 15:46:21 +01:00
parent 7d30709306
commit 6f0cc614e2
@@ -412,7 +412,7 @@ void QtGraphEdge::mouseMoveEvent(QGraphicsSceneMouseEvent* event)
void QtGraphEdge::mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
{
if (!m_mouseMoved && m_isInteractive)
if (!m_mouseMoved && m_isInteractive && event->button() == Qt::LeftButton)
{
if (event->modifiers() & Qt::AltModifier)
{