Commit add445e8 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.formEditor: adding context menu

This adds a default context menu to any tool.

Change-Id: I6d7faf5e0b3a7bf131359d6ee3717135492ea5de

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarThomas Hartmann <>
parent fffafb97
......@@ -236,6 +236,7 @@ void AbstractFormEditorTool::mouseDoubleClickEvent(const QList<QGraphicsItem*> &
void AbstractFormEditorTool::showContextMenu(QGraphicsSceneMouseEvent *event)
view()->showContextMenu(event->screenPos(), event->scenePos().toPoint(), true);
Supports Markdown
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