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-09 12:27:27 +0300
committerJelle Spijker <spijker.jelle@gmail.com>2021-12-09 12:27:27 +0300
commit8a583a43238e9af5d4dcca554a83c88c1b227b09 (patch)
treea9276789762b34dc36e26c5137d7489a393bbcfd /plugins/Marketplace/resources
parent0299bb1694f7f5c21a1d1a61101d5e83252b5145 (diff)
Fixed Enable button text and style
Contributes to: CURA-8587
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/PackageCardHeader.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Marketplace/resources/qml/PackageCardHeader.qml b/plugins/Marketplace/resources/qml/PackageCardHeader.qml
index 59a4408ce7..be0a52f52a 100644
--- a/plugins/Marketplace/resources/qml/PackageCardHeader.qml
+++ b/plugins/Marketplace/resources/qml/PackageCardHeader.qml
@@ -187,10 +187,10 @@ Item
busy: false
confirmed: false
- button_style: packageData.isInstalled && packageData.isActive
+ button_style: packageData.isInstalled && !packageData.isActive
Layout.alignment: Qt.AlignTop
- text: packageData.stateManageEnableButton ? catalog.i18nc("@button", "Enable") : catalog.i18nc("@button", "Disable")
+ text: button_style ? catalog.i18nc("@button", "Enable") : catalog.i18nc("@button", "Disable")
onClicked:
{