From c4b85fd455eddc59c6e86a60bb1b78a34ae587ba Mon Sep 17 00:00:00 2001 From: Yann Lanthony Date: Fri, 21 Feb 2025 19:01:09 +0100 Subject: [PATCH] [ui] AttributeItemDelegate: make connected GroupAttribute readOnly --- meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml b/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml index 5a6ecbed..62a6fed1 100644 --- a/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml +++ b/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml @@ -668,7 +668,7 @@ RowLayout { var obj = cpt.createObject(groupItem, { 'model': Qt.binding(function() { return attribute.value }), - 'readOnly': Qt.binding(function() { return root.readOnly }), + 'readOnly': Qt.binding(function() { return !root.editable }), 'labelWidth': 100, // Reduce label width for children (space gain) 'objectsHideable': Qt.binding(function() { return root.objectsHideable }), 'filterText': Qt.binding(function() { return root.filterText }),