From b31da19e6694d64326385a3ce49d657f7445f9a9 Mon Sep 17 00:00:00 2001 From: waaake Date: Thu, 19 Dec 2024 06:05:11 +0100 Subject: [PATCH] [ui] GraphEditor: Fixed Key handling for Node creation Menu Keys.AfterItem as the priority ensures the Item's own key events are handled before Forwarding it to specified items. This handles all defined Enter and Return key presses --- meshroom/ui/qml/GraphEditor/GraphEditor.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meshroom/ui/qml/GraphEditor/GraphEditor.qml b/meshroom/ui/qml/GraphEditor/GraphEditor.qml index c74acbc7d1..0f33730828 100755 --- a/meshroom/ui/qml/GraphEditor/GraphEditor.qml +++ b/meshroom/ui/qml/GraphEditor/GraphEditor.qml @@ -293,6 +293,8 @@ Item { searchBar.forceActiveFocus() } } + // Set the priority ordering of the keys to be Item's own Key Handling > ForwardTo + Keys.priority: Keys.AfterItem; // Create node on mouse click onClicked: newNodeMenu.createNode(modelData)