From a727e4ffd09d365dfaa3f532c912a952f30e7089 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Thu, 11 May 2017 18:16:36 +0200 Subject: [PATCH] Make sure all materials are shown Without this workaround, some materials that are listed above the generic materials do not show up untill the user scrolls the scrollview. --- resources/qml/Preferences/MaterialsPage.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/qml/Preferences/MaterialsPage.qml b/resources/qml/Preferences/MaterialsPage.qml index d4d9a2dec7..c46b482d10 100644 --- a/resources/qml/Preferences/MaterialsPage.qml +++ b/resources/qml/Preferences/MaterialsPage.qml @@ -14,6 +14,12 @@ UM.ManagementPage title: catalog.i18nc("@title:tab", "Materials"); + Component.onCompleted: + { + // Workaround to make sure all of the items are visible + objectList.positionViewAtBeginning(); + } + model: UM.InstanceContainersModel { filter: