mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 12:05:54 +08: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
@ -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…
x
Reference in New Issue
Block a user