diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-08-14 11:00:33 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2020-08-20 17:05:52 +0300 |
commit | af05aa61b79071e1a0ba77bd5340bb19cf0e16f4 (patch) | |
tree | c2b80400f98199bd9b0ca51f0c80db499abad62d | |
parent | 28f4d8513db7efce17bfd8b80fa7c8b237fd1c18 (diff) |
Remove unneeded binding
This binding wasn't needed to prevent a binding loop, but it did cause
the length to not be updated correctly sometimes
CURA-7589
-rw-r--r-- | resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml b/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml index 4befa1b22a..c879ff53fd 100644 --- a/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml +++ b/resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml @@ -104,16 +104,6 @@ Popup anchors.left: parent.left anchors.right: parent.right - // We set it by means of a binding, since then we can use the when condition, which we need to - // prevent a binding loop. - Binding - { - target: parent - property: "height" - value: parent.childrenRect.height - when: parent.visibleChildren.length > 0 - } - // Add the qualities that belong to the intent Repeater { |