Browse Source

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
Jaime van Kessel 4 years ago
parent
commit
ec48496790
1 changed files with 0 additions and 10 deletions
  1. 0 10
      resources/qml/PrintSetupSelector/Custom/QualitiesWithIntentMenu.qml

+ 0 - 10
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
                             {