mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:59:12 +08:00
Split functionality of the two marketplace buttons
One now opens the old one again. One still opens the new one (but with a new name). Contributes to issue CURA-8556.
This commit is contained in:
parent
7796abd55b
commit
aed52cea74
@ -72,6 +72,7 @@ Item
|
||||
property alias configureSettingVisibility: configureSettingVisibilityAction
|
||||
|
||||
property alias browsePackages: browsePackagesAction
|
||||
property alias openMarketplace: openMarketplaceAction
|
||||
|
||||
UM.I18nCatalog{id: catalog; name: "cura"}
|
||||
|
||||
@ -483,4 +484,11 @@ Item
|
||||
text: catalog.i18nc("@action:menu", "&Marketplace")
|
||||
iconName: "plugins_browse"
|
||||
}
|
||||
|
||||
Action
|
||||
{
|
||||
id: openMarketplaceAction
|
||||
text: catalog.i18nc("@action:menu", "&Marketplace")
|
||||
iconName: "plugins_browse"
|
||||
}
|
||||
}
|
||||
|
@ -201,6 +201,14 @@ Item
|
||||
{
|
||||
target: Cura.Actions.browsePackages
|
||||
function onTriggered()
|
||||
{
|
||||
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
||||
}
|
||||
}
|
||||
Connections
|
||||
{
|
||||
target: Cura.Actions.openMarketplace
|
||||
function onTriggered()
|
||||
{
|
||||
curaExtensions.callExtensionMethod("Marketplace", "show")
|
||||
}
|
||||
|
@ -177,7 +177,7 @@ Item
|
||||
}
|
||||
}
|
||||
|
||||
onClicked: Cura.Actions.browsePackages.trigger()
|
||||
onClicked: Cura.Actions.openMarketplace.trigger()
|
||||
}
|
||||
|
||||
ApplicationSwitcher
|
||||
|
Loading…
x
Reference in New Issue
Block a user