Remove banners when clicking close button

This commit is contained in:
casper 2021-11-26 14:49:00 +01:00
parent 20f94add47
commit 3ddfa6486b
7 changed files with 76 additions and 23 deletions

View file

@ -10,7 +10,15 @@ import UM 1.4 as UM
Packages
{
pageTitle: catalog.i18nc("@header", "Manage packages")
bannerType: "__MANAGE_PACKAGES__"
bannerVisible: CuraApplication.shouldShowMarketPlaceManagePackagesBanner()
bannerIcon: "ArrowDoubleCircleRight"
bannerBody: catalog.i18nc("@text", "Manage your Ultimaker Cura plugins and material profiles here. Make sure to keep your plugins up to date and backup your setup regularly.")
onRemoveBanner: function() {
CuraApplication.closeMarketPlaceManagePackagesBanner();
bannerVisible = false;
}
model: Marketplace.LocalPackageList
{
}