Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-08-14 11:00:33 +0300
committerGhostkeeper <rubend@tutanota.com>2020-08-20 17:05:52 +0300
commitaf05aa61b79071e1a0ba77bd5340bb19cf0e16f4 (patch)
treec2b80400f98199bd9b0ca51f0c80db499abad62d
parent28f4d8513db7efce17bfd8b80fa7c8b237fd1c18 (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.qml10
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
{