mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Remove banners when clicking close button
This commit is contained in:
parent
20f94add47
commit
3ddfa6486b
7 changed files with 76 additions and 23 deletions
|
@ -6,7 +6,15 @@ import Marketplace 1.0 as Marketplace
|
|||
Packages
|
||||
{
|
||||
pageTitle: catalog.i18nc("@header", "Install Plugins")
|
||||
bannerType: "__PLUGINS__"
|
||||
|
||||
bannerVisible: CuraApplication.shouldShowMarketPlacePluginBanner()
|
||||
bannerIcon: "Shop"
|
||||
bannerBody: catalog.i18nc("@text", "Select and install material profiles optimised for your Ultimaker 3D printers.")
|
||||
onRemoveBanner: function() {
|
||||
CuraApplication.closeMarketPlacePluginBanner();
|
||||
bannerVisible = false;
|
||||
}
|
||||
|
||||
model: Marketplace.RemotePackageList
|
||||
{
|
||||
packageTypeFilter: "plugin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue