Skip to content

Commit 99a6dc0

Browse files
authored
Merge pull request #2739 from alicevision/fix/attribute-linkedIn-out-qml-warnings
[ui] [fix] Attribute: Fix the qml warnings on intrisincs
2 parents b43ab2c + b63b0f0 commit 99a6dc0

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

meshroom/core/attribute.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,12 @@ def _is2D(self) -> bool:
502502
isLinkNested = isLink
503503
hasOutputConnectionsChanged = Signal()
504504
hasOutputConnections = Property(bool, hasOutputConnections.fget, notify=hasOutputConnectionsChanged)
505-
linkedInAttributes = Property(Variant, getLinkedInAttributes)
506-
linkedOutAttributes = Property(Variant, getLinkedOutAttributes)
505+
506+
linkedInAttributesChanged = Signal()
507+
linkedInAttributes = Property(Variant, getLinkedInAttributes, notify=linkedInAttributesChanged)
508+
linkedOutAttributesChanged = Signal()
509+
linkedOutAttributes = Property(Variant, getLinkedOutAttributes, notify=linkedOutAttributesChanged)
510+
507511
isDefault = Property(bool, _isDefault, notify=valueChanged)
508512
linkParam = Property(BaseObject, getLinkParam, notify=isLinkChanged)
509513
rootLinkParam = Property(BaseObject, lambda self: self.getLinkParam(recursive=True), notify=isLinkChanged)

0 commit comments

Comments
 (0)