Intent button was showing when only a single intent is available.

This was caused by visible being overridden.

CURA-8849
This commit is contained in:
j.delarago 2022-06-16 14:05:39 +02:00
parent 1e0236e317
commit 0fb2b46677
2 changed files with 5 additions and 2 deletions

View file

@ -12,8 +12,11 @@ import ".."
Item
{
id: qualityRow
property bool hasQualityOptions: true
height: childrenRect.height
visible: intentSelectionRepeater.count > 1 //Only show selector if there's more options than just "default".
visible: intentSelectionRepeater.count > 1 && hasQualityOptions //Only show selector if there's more options than just "default".
RowLayout
{