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:
authorc.lamboo <casperlamboo@gmail.com>2022-06-03 11:39:01 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-06-03 11:39:01 +0300
commit4492e3fba2eeaff686bb7e2a3d6e9c133af4f3d0 (patch)
tree92ac748753e5f3158511f6bac0c7514af9a4df9c /plugins/Marketplace
parent70c36fc80fc8bd28959df022f5d4ddc8595c0e3e (diff)
Add warning border to `PackageCard` if information is missing
CURA-6990
Diffstat (limited to 'plugins/Marketplace')
-rw-r--r--plugins/Marketplace/resources/qml/PackageCard.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Marketplace/resources/qml/PackageCard.qml b/plugins/Marketplace/resources/qml/PackageCard.qml
index 52254a478f..c9dda29f7d 100644
--- a/plugins/Marketplace/resources/qml/PackageCard.qml
+++ b/plugins/Marketplace/resources/qml/PackageCard.qml
@@ -18,6 +18,8 @@ Rectangle
height: childrenRect.height
color: UM.Theme.getColor("main_background")
radius: UM.Theme.getSize("default_radius").width
+ border.color: packageData.isMissingPackageInformation ? UM.Theme.getColor("warning") : "transparent"
+ border.width: packageData.isMissingPackageInformation ? 1 : 0
PackageCardHeader
{