Don't show en-/disable button when un-/installed

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-07 12:46:45 +01:00
parent ca76bcc29c
commit 5b3e9079ed
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
2 changed files with 3 additions and 2 deletions

View file

@ -332,7 +332,7 @@ Rectangle
busySecondaryText: catalog.i18nc("@button", "Disabling...")
confirmedSecondaryText: catalog.i18nc("@button", "Disabled")
enabled: !(installManageButton.busy || updateManageButton.busy)
visible: root.manageableInListView || root.expanded
visible: (root.manageableInListView || root.expanded) && !installManageButton.confirmed
onClicked: {
if (primary_action)