Add generic "Create marker here" context menu entry
[pulseview.git] / pv / views / trace / header.cpp
index c5510fcb40c44a8c6cf3ad4631736b51fac061ea..fd2d85e227c4b70e82ecfcf415b7da9a5f0f4816 100644 (file)
@@ -142,7 +142,7 @@ void Header::contextMenuEvent(QContextMenuEvent *event)
                menu->addAction(group);
        }
 
-       menu->exec(event->globalPos());
+       menu->popup(event->globalPos());
 }
 
 void Header::keyPressEvent(QKeyEvent *event)