[ui] GraphEditor: output attributes are never read-only

Also allow to expand attributes list on a locked node.
This commit is contained in:
Fabien Castan 2020-12-28 19:01:36 +01:00
parent 2b48188b32
commit 8ef793a488
2 changed files with 4 additions and 4 deletions

View file

@ -270,7 +270,7 @@ Item {
height: childrenRect.height
anchors.horizontalCenter: parent.horizontalCenter
enabled: !root.readOnly && !root.isCompatibilityNode
enabled: !root.isCompatibilityNode
Column {
id: attributesColumn
@ -299,7 +299,6 @@ Item {
property real globalX: root.x + nodeAttributes.x + outputs.x + outputLoader.x + outPin.x
property real globalY: root.y + nodeAttributes.y + outputs.y + outputLoader.y + outPin.y
readOnly: root.readOnly
onPressed: root.pressed(mouse)
Component.onCompleted: attributePinCreated(object, outPin)
Component.onDestruction: attributePinDeleted(attribute, outPin)