diff --git a/plugins/Marketplace/resources/qml/Marketplace.qml b/plugins/Marketplace/resources/qml/Marketplace.qml index 308474a242..33cae9e778 100644 --- a/plugins/Marketplace/resources/qml/Marketplace.qml +++ b/plugins/Marketplace/resources/qml/Marketplace.qml @@ -74,6 +74,7 @@ Window TabBar //Page selection. { + id: pageSelectionTabBar anchors.right: parent.right anchors.rightMargin: UM.Theme.getSize("default_margin").width @@ -83,11 +84,13 @@ Window { width: implicitWidth text: catalog.i18nc("@button", "Plug-ins") + onClicked: content.source = "Plugins.qml" } PackageTypeTab { width: implicitWidth text: catalog.i18nc("@button", "Materials") + onClicked: content.source = "Materials.qml" } } } diff --git a/plugins/Marketplace/resources/qml/Materials.qml b/plugins/Marketplace/resources/qml/Materials.qml new file mode 100644 index 0000000000..7ed5323941 --- /dev/null +++ b/plugins/Marketplace/resources/qml/Materials.qml @@ -0,0 +1,11 @@ +// Copyright (c) 2021 Ultimaker B.V. +// Cura is released under the terms of the LGPLv3 or higher. + +import Marketplace 1.0 as Marketplace + +Packages +{ + model: Marketplace.PackageList + { + } +} \ No newline at end of file