Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alicevision/meshroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmeshroom/ui/qml/GraphEditor/GraphEditor.qml6
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();
+ }
}
}