Skip to content

Commit

Permalink
[qt6][GraphEditor] Node: Ensure readOnly is set with a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Oct 17, 2024
1 parent 91fcbe0 commit f818005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/ui/qml/GraphEditor/Node.qml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ Item {
property real globalX: root.x + nodeAttributes.x + inputs.x + inputLoader.x + inPin.x
property real globalY: root.y + nodeAttributes.y + inputs.y + inputLoader.y + inPin.y

readOnly: root.readOnly || object.isReadOnly
readOnly: Boolean(root.readOnly || object.isReadOnly)
Component.onCompleted: attributePinCreated(attribute, inPin)
Component.onDestruction: attributePinDeleted(attribute, inPin)
onPressed: function(mouse) { root.pressed(mouse) }
Expand Down

0 comments on commit f818005

Please sign in to comment.