mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[qt6][GraphEditor] Node: Ensure readOnly
is set with a boolean
This commit is contained in:
parent
36f7f4e420
commit
a61231916f
1 changed files with 1 additions and 1 deletions
|
@ -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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue