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:
authorGhostkeeper <rubend@tutanota.com>2022-06-14 17:12:10 +0300
committerGhostkeeper <rubend@tutanota.com>2022-06-14 17:12:10 +0300
commitaee614ff9b205e8cddd3b0c3c87858524fc6e926 (patch)
tree6fcbe7e2cb62866f53b5eca8c15a20eb626e896a /resources/qml
parent6b6f41bfe9b3f92eedb130ad95fec67d60ac7bf0 (diff)
Hide intent category selector if there's just 'default' intent
It doesn't make sense to let the user choose then. Contributes to issue CURA-8849.
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml
index 569cf7f7d0..6bcca955d1 100644
--- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml
+++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml
@@ -13,6 +13,7 @@ Item
{
id: qualityRow
height: childrenRect.height
+ visible: intentSelectionRepeater.count > 1 //Only show selector if there's more options than just "default".
RowLayout
{
@@ -21,6 +22,7 @@ Item
Repeater
{
+ id: intentSelectionRepeater
model: Cura.IntentSelectionModel {}
RecommendedQualityProfileSelectorButton