mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Remove banners when clicking close button
This commit is contained in:
parent
5e4f67c7e1
commit
748101ce69
5 changed files with 68 additions and 21 deletions
|
@ -6,7 +6,15 @@ import Marketplace 1.0 as Marketplace
|
|||
Packages
|
||||
{
|
||||
pageTitle: catalog.i18nc("@header", "Install Materials")
|
||||
bannerType: "__MATERIALS__"
|
||||
|
||||
bannerVisible: CuraApplication.shouldShowMarketPlaceMaterialBanner()
|
||||
bannerIcon: "Spool"
|
||||
bannerBody: catalog.i18nc("@text", "Streamline your workflow and customize your Ultimaker Cura experience with plugins contributed by our amazing community of users.")
|
||||
onRemoveBanner: function() {
|
||||
CuraApplication.closeMarketPlaceMaterialBanner();
|
||||
bannerVisible = false;
|
||||
}
|
||||
|
||||
model: Marketplace.RemotePackageList
|
||||
{
|
||||
packageTypeFilter: "material"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue