Commit 362c2a36 authored by Ralf Habacker's avatar Ralf Habacker

Fix of 'Diagram popup menu not displayed at cursor position'.

The problem has been caused by handling the diagram context menu on
two source code locations, which results into a race condition.

BUG:328257
parent 276db0de
......@@ -125,8 +125,6 @@ void ToolBarStateArrow::mouseReleaseEmpty()
while (!m_selectionRect.isEmpty())
delete m_selectionRect.takeFirst();
m_selectionRect.clear();
} else if (m_pMouseEvent->button() == Qt::RightButton) {
m_pUMLScene->setMenu(m_pMouseEvent->scenePos().toPoint());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment