From 1c79193f9a325fd1a564da2ec25edcae8ce18e5c Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 28 Jan 2020 13:25:27 +0100 Subject: [PATCH] Always go to plug-ins page regardless of active tab This was a requirement from UX. Apparently we're adding a link to the materials elsewhere. Contributes to issue CURA-7071. --- .../Toolbox/resources/qml/components/ToolboxHeader.qml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml b/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml index df1a43911e..e0cdb44d7d 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml @@ -89,15 +89,7 @@ Item rightMargin: UM.Theme.getSize("default_margin").width verticalCenter: parent.verticalCenter } - onClicked: - { - let page = "plugins"; //Online page to go to on the Marketplace subdomain. - if(materialsTabButton.active) - { - page = "materials"; - } - Qt.openUrlExternally(toolbox.getWebMarketplaceUrl(page)); - } + onClicked: Qt.openUrlExternally(toolbox.getWebMarketplaceUrl("plugins")) UM.RecolorImage { id: cloudMarketplaceButton