diff options
author | Loïc Vital <mugulmotion@gmail.com> | 2022-11-02 17:25:24 +0300 |
---|---|---|
committer | Loïc Vital <mugulmotion@gmail.com> | 2022-11-02 17:25:24 +0300 |
commit | cf3e2b3573f8bc7cde5e960e701b7c7c9143e714 (patch) | |
tree | 973b4e784bfb1df7690098c08dfbc7927fe7bdba | |
parent | c5294eb3642d7ac9817c9d0d5cc3eac3dac2be6b (diff) |
[ui] prevent default tab behavior (change focus to next element)
-rwxr-xr-x | meshroom/ui/qml/GraphEditor/GraphEditor.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meshroom/ui/qml/GraphEditor/GraphEditor.qml b/meshroom/ui/qml/GraphEditor/GraphEditor.qml index 5d846f5c..1a983527 100755 --- a/meshroom/ui/qml/GraphEditor/GraphEditor.qml +++ b/meshroom/ui/qml/GraphEditor/GraphEditor.qml @@ -139,6 +139,7 @@ Item { pasteNodes(); } else if (event.key == Qt.Key_Tab) { + event.accepted = true; newNodeMenu.spawnPosition = mouseArea.mapToItem(draggable, mouseArea.mouseX, mouseArea.mouseY); newNodeMenu.popup(); } |