mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Only show manage buttons in manage tab or detail view
Contributes to: CURA-8587
This commit is contained in:
parent
f6966c25fb
commit
1c0e484069
5 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,7 @@ ListView
|
|||
property string bannerText
|
||||
property string bannerReadMoreUrl
|
||||
property var onRemoveBanner
|
||||
property bool packagesManageableInListView
|
||||
|
||||
clip: true
|
||||
|
||||
|
@ -80,6 +81,7 @@ ListView
|
|||
|
||||
PackageCard
|
||||
{
|
||||
manageableInListView: packages.packagesManageableInListView
|
||||
packageData: model.package
|
||||
width: parent.width - UM.Theme.getSize("default_margin").width - UM.Theme.getSize("narrow_margin").width
|
||||
color: cardMouseArea.containsMouse ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("main_background")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue