mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:48:58 +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
|
||||
{
|
||||
width: parent.width
|
||||
visible: recommendedResolutionSelector.visible
|
||||
hasQualityOptions: recommendedResolutionSelector.visible
|
||||
}
|
||||
|
||||
RecommendedResolutionSelector
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user