From ec48496790dce89a8f3ed5eb0cefa319352f9d4d Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 14 Aug 2020 10:00:33 +0200 Subject: 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 --- .../qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'resources') 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 { -- cgit v1.2.3