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.

parent 276db0de
......@@ -125,8 +125,6 @@ void ToolBarStateArrow::mouseReleaseEmpty()
while (!m_selectionRect.isEmpty())
delete m_selectionRect.takeFirst();
} else if (m_pMouseEvent->button() == Qt::RightButton) {
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