mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:19:13 +08:00
Merge branch 'replace_controls_1_for_controls_2' of github.com:Ultimaker/Cura into CURA-8688_qt6_cleanup
This commit is contained in:
commit
f82c0fe525
@ -71,7 +71,6 @@ Item
|
|||||||
property alias configureSettingVisibility: configureSettingVisibilityAction
|
property alias configureSettingVisibility: configureSettingVisibilityAction
|
||||||
|
|
||||||
property alias browsePackages: browsePackagesAction
|
property alias browsePackages: browsePackagesAction
|
||||||
property alias openMarketplace: openMarketplaceAction
|
|
||||||
|
|
||||||
UM.I18nCatalog{id: catalog; name: "cura"}
|
UM.I18nCatalog{id: catalog; name: "cura"}
|
||||||
|
|
||||||
@ -483,11 +482,4 @@ Item
|
|||||||
text: "&Marketplace"
|
text: "&Marketplace"
|
||||||
icon.name: "plugins_browse"
|
icon.name: "plugins_browse"
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
|
||||||
{
|
|
||||||
id: openMarketplaceAction
|
|
||||||
text: catalog.i18nc("@action:menu", "&Marketplace")
|
|
||||||
icon.name: "plugins_browse"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,8 @@ Item
|
|||||||
target: Cura.Actions.browsePackages
|
target: Cura.Actions.browsePackages
|
||||||
function onTriggered()
|
function onTriggered()
|
||||||
{
|
{
|
||||||
extensionMenu.extensionModel.callExtensionMethod("Toolbox", "launch")
|
print("beepboop")
|
||||||
|
extensionMenu.extensionModel.callExtensionMethod("Marketplace", "show")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,8 +103,8 @@ Item
|
|||||||
target: Cura.Actions.marketplaceMaterials
|
target: Cura.Actions.marketplaceMaterials
|
||||||
function onTriggered()
|
function onTriggered()
|
||||||
{
|
{
|
||||||
extensionMenu.extensionModel.callExtensionMethod("Toolbox", "launch")
|
extensionMenu.extensionModel.callExtensionMethod("Marketplace", "show")
|
||||||
extensionMenu.extensionModel.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
|
extensionMenu.extensionModel.callExtensionMethod("Marketplace", "setVisibleTabToMaterials")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user