From 6af2677c5223e0f68cc1221605e0e76ae0e38d63 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 3 Jan 2022 11:06:19 +0100 Subject: Remove TabManager Since marketplace itself already needed to be a qObject, there wasn't really a need to have a seperate object for it --- plugins/Marketplace/resources/qml/Marketplace.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Marketplace/resources') diff --git a/plugins/Marketplace/resources/qml/Marketplace.qml b/plugins/Marketplace/resources/qml/Marketplace.qml index 9027a02121..b909c88877 100644 --- a/plugins/Marketplace/resources/qml/Marketplace.qml +++ b/plugins/Marketplace/resources/qml/Marketplace.qml @@ -130,11 +130,11 @@ Window height: UM.Theme.getSize("button_icon").height spacing: 0 background: Rectangle { color: "transparent" } - currentIndex: tabManager.tabShown + currentIndex: manager.tabShown onCurrentIndexChanged: { - tabManager.tabShown = currentIndex + manager.tabShown = currentIndex searchBar.text = ""; searchBar.visible = currentItem.hasSearch; content.source = currentItem.sourcePage; -- cgit v1.2.3