ui: Fixed right click on edge activates it on Windows
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user