diff options
-rwxr-xr-x | meshroom/ui/qml/GraphEditor/GraphEditor.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meshroom/ui/qml/GraphEditor/GraphEditor.qml b/meshroom/ui/qml/GraphEditor/GraphEditor.qml index 1a983527..36ccc4a4 100755 --- a/meshroom/ui/qml/GraphEditor/GraphEditor.qml +++ b/meshroom/ui/qml/GraphEditor/GraphEditor.qml @@ -140,8 +140,10 @@ Item { } else if (event.key == Qt.Key_Tab) { event.accepted = true; - newNodeMenu.spawnPosition = mouseArea.mapToItem(draggable, mouseArea.mouseX, mouseArea.mouseY); - newNodeMenu.popup(); + if (mouseArea.containsMouse) { + newNodeMenu.spawnPosition = mouseArea.mapToItem(draggable, mouseArea.mouseX, mouseArea.mouseY); + newNodeMenu.popup(); + } } } |