From 7d9c6e1449bd26d28ee093d74ba0ff7f7306991b Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 8 Oct 2021 13:35:01 +0200 Subject: [PATCH] Fix QML warning --- plugins/PerObjectSettingsTool/SettingPickDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/PerObjectSettingsTool/SettingPickDialog.qml b/plugins/PerObjectSettingsTool/SettingPickDialog.qml index 28ddb7e642..1bba094e49 100644 --- a/plugins/PerObjectSettingsTool/SettingPickDialog.qml +++ b/plugins/PerObjectSettingsTool/SettingPickDialog.qml @@ -96,11 +96,11 @@ UM.Dialog } showAll: toggleShowAll.checked || filterInput.text !== "" } - delegate:Loader + delegate: Loader { id: loader - width: parent.width + width: listview.width height: model.type != undefined ? UM.Theme.getSize("section").height : 0 property var definition: model