Skip to content
Snippets Groups Projects
Commit 56d6e6e4 authored by Richard Gustavsen's avatar Richard Gustavsen
Browse files

Open popup at mouse pos

parent b5a130b3
Branches
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ Window {
var row = treeView.rowAtY(posInTreeView.y, true)
treeView.currentIndex = treeView.viewIndex(0, row);
contextMenu.modelIndex = treeView.mapToModel(treeView.currentIndex)
contextMenu.popup(point.position)
contextMenu.popup()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment