Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Spijker <spijker.jelle@gmail.com>2021-12-07 18:08:51 +0300
committerJelle Spijker <spijker.jelle@gmail.com>2021-12-07 18:09:07 +0300
commit14bc196154edd03802ab2ae84a6c9ac6bdf42115 (patch)
tree101d35569177ae4ac23a76063b4de68ae0a2e8d7 /plugins/Marketplace/resources
parentd2a9d7d94d1d4ffb0b880693fcb8bb160ef7195d (diff)
Hidden other manage buttons when the other is confirmed
Contributes to: CURA-8587
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/PackageCard.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Marketplace/resources/qml/PackageCard.qml b/plugins/Marketplace/resources/qml/PackageCard.qml
index 721a152b12..12f24f6f6f 100644
--- a/plugins/Marketplace/resources/qml/PackageCard.qml
+++ b/plugins/Marketplace/resources/qml/PackageCard.qml
@@ -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) && !installManageButton.confirmed
+ visible: (root.manageableInListView || root.expanded) && !(installManageButton.confirmed || updateManageButton.confirmed)
onClicked: {
if (primary_action)
@@ -358,7 +358,7 @@ Rectangle
busySecondaryText: catalog.i18nc("@button", "Uninstalling...")
confirmedSecondaryText: catalog.i18nc("@button", "Uninstalled")
enabled: !(enableManageButton.busy || updateManageButton.busy)
- visible: installManageButton.confirmed || root.manageableInListView || root.expanded
+ visible: (installManageButton.confirmed || root.manageableInListView || root.expanded) && !(updateManageButton.confirmed || enableManageButton.confirmed)
onClicked:
{
@@ -382,7 +382,7 @@ Rectangle
busyPrimaryText: catalog.i18nc("@button", "Updating...")
confirmedPrimaryText: catalog.i18nc("@button", "Updated")
enabled: !(installManageButton.busy || enableManageButton.busy)
- visible: root.manageableInListView || root.expanded
+ visible: (root.manageableInListView || root.expanded) && !installManageButton.confirmed
onClicked: packageData.updatePackageTriggered(packageData.packageId)
}