mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:45:55 +08:00
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:
parent
1e0236e317
commit
0fb2b46677
@ -40,7 +40,7 @@ Item
|
|||||||
RecommendedQualityProfileSelector
|
RecommendedQualityProfileSelector
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
visible: recommendedResolutionSelector.visible
|
hasQualityOptions: recommendedResolutionSelector.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
RecommendedResolutionSelector
|
RecommendedResolutionSelector
|
||||||
|
@ -12,8 +12,11 @@ import ".."
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: qualityRow
|
id: qualityRow
|
||||||
|
|
||||||
|
property bool hasQualityOptions: true
|
||||||
|
|
||||||
height: childrenRect.height
|
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
|
RowLayout
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user