Skip to content

Commit e7e2e2d

Browse files
committed
[qt6][GraphEditor] Node: Ensure readOnly is set with a boolean
1 parent db596c8 commit e7e2e2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/ui/qml/GraphEditor/Node.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ Item {
446446
property real globalX: root.x + nodeAttributes.x + inputs.x + inputLoader.x + inPin.x
447447
property real globalY: root.y + nodeAttributes.y + inputs.y + inputLoader.y + inPin.y
448448

449-
readOnly: root.readOnly || object.isReadOnly
449+
readOnly: Boolean(root.readOnly || object.isReadOnly)
450450
Component.onCompleted: attributePinCreated(attribute, inPin)
451451
Component.onDestruction: attributePinDeleted(attribute, inPin)
452452
onPressed: function(mouse) { root.pressed(mouse) }

0 commit comments

Comments
 (0)