Browse Source

Fix height binding loop QmlWarning in ConfigurationListView

Done during Turbo Testing and Tooling
Kostas Karmas 4 years ago
parent
commit
3073d7c349
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml

+ 1 - 1
resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml

@@ -96,7 +96,7 @@ Item
             id: configurationList
             spacing: UM.Theme.getSize("narrow_margin").height
             width: container.width - ((height > container.maximumHeight) ? container.ScrollBar.vertical.background.width : 0) //Make room for scroll bar if there is any.
-            height: childrenRect.height
+            height: contentHeight
             interactive: false  // let the ScrollView process scroll events.
 
             section.property: "modelData.printerType"