mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
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.
This commit is contained in:
parent
6b6f41bfe9
commit
aee614ff9b
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ Item
|
||||||
{
|
{
|
||||||
id: qualityRow
|
id: qualityRow
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
visible: intentSelectionRepeater.count > 1 //Only show selector if there's more options than just "default".
|
||||||
|
|
||||||
RowLayout
|
RowLayout
|
||||||
{
|
{
|
||||||
|
|
@ -21,6 +22,7 @@ Item
|
||||||
|
|
||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
|
id: intentSelectionRepeater
|
||||||
model: Cura.IntentSelectionModel {}
|
model: Cura.IntentSelectionModel {}
|
||||||
|
|
||||||
RecommendedQualityProfileSelectorButton
|
RecommendedQualityProfileSelectorButton
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue