mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
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.
This commit is contained in:
parent
13644f7e41
commit
1c79193f9a
1 changed files with 1 additions and 9 deletions
|
@ -89,15 +89,7 @@ Item
|
||||||
rightMargin: UM.Theme.getSize("default_margin").width
|
rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
onClicked:
|
onClicked: Qt.openUrlExternally(toolbox.getWebMarketplaceUrl("plugins"))
|
||||||
{
|
|
||||||
let page = "plugins"; //Online page to go to on the Marketplace subdomain.
|
|
||||||
if(materialsTabButton.active)
|
|
||||||
{
|
|
||||||
page = "materials";
|
|
||||||
}
|
|
||||||
Qt.openUrlExternally(toolbox.getWebMarketplaceUrl(page));
|
|
||||||
}
|
|
||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
{
|
{
|
||||||
id: cloudMarketplaceButton
|
id: cloudMarketplaceButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue