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.
This commit is contained in:
fieldOfView 2017-05-11 18:16:36 +02:00
parent f5347a4593
commit a727e4ffd0

View file

@ -14,6 +14,12 @@ UM.ManagementPage
title: catalog.i18nc("@title:tab", "Materials"); title: catalog.i18nc("@title:tab", "Materials");
Component.onCompleted:
{
// Workaround to make sure all of the items are visible
objectList.positionViewAtBeginning();
}
model: UM.InstanceContainersModel model: UM.InstanceContainersModel
{ {
filter: filter: