mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Fix opening of marketplace button
CURA-8684
This commit is contained in:
parent
38e20fd90b
commit
bab9311284
2 changed files with 6 additions and 6 deletions
|
@ -40,7 +40,7 @@ Item
|
|||
title: (Qt.platform.os == "osx") ? "&Settings" : catalog.i18nc("@title:menu menubar:toplevel", "&Settings")
|
||||
}
|
||||
|
||||
ExtensionMenu {}
|
||||
ExtensionMenu { id: extensionMenu }
|
||||
|
||||
PreferencesMenu {}
|
||||
|
||||
|
@ -99,7 +99,7 @@ Item
|
|||
target: Cura.Actions.browsePackages
|
||||
function onTriggered()
|
||||
{
|
||||
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
||||
extensionMenu.extensionModel.callExtensionMethod("Toolbox", "launch")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -109,8 +109,8 @@ Item
|
|||
target: Cura.Actions.marketplaceMaterials
|
||||
function onTriggered()
|
||||
{
|
||||
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
||||
curaExtensions.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
|
||||
extensionMenu.extensionModel.callExtensionMethod("Toolbox", "launch")
|
||||
extensionMenu.extensionModel.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue