diff --git a/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml b/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml index 4c37685e..0a131c61 100644 --- a/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml +++ b/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml @@ -215,6 +215,13 @@ RowLayout { property bool memoryActiveFocus: false onAccepted: { setTextFieldAttribute(text) + parameterLabel.forceActiveFocus() + } + Keys.onPressed: (event)=> { + if ((event.key == Qt.Key_Escape)) { + event.accepted = true + parameterLabel.forceActiveFocus() + } } Component.onDestruction: { if (activeFocus)