diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-08-14 11:00:33 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-08-14 11:00:33 +0300 |
commit | ec48496790dce89a8f3ed5eb0cefa319352f9d4d (patch) | |
tree | 680c626f18ca39f4a661d9d8fbce779f0c4e7c7c /resources | |
parent | 1374c2faa93d83b9add7e414272facd993f7e572 (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
Diffstat (limited to 'resources')
-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 3ae180f133..652fbf71b9 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 { |