mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Only show "Custom Profile" header if there are custom profiles
CURA-6844
This commit is contained in:
parent
c6850b4f73
commit
ff3837bac5
1 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ Popup
|
|||
renderType: Text.NativeRendering
|
||||
height: visible ? contentHeight: 0
|
||||
enabled: false
|
||||
visible: profilesList.visibleChildren.length > 0
|
||||
visible: profilesList.visibleChildren.length > 1
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
}
|
||||
|
|
@ -156,7 +156,7 @@ Popup
|
|||
target: parent
|
||||
property: "height"
|
||||
value: parent.childrenRect.height
|
||||
when: parent.visibleChildren.length > 0
|
||||
when: parent.visibleChildren.length > 1
|
||||
}
|
||||
|
||||
//Add all the custom profiles.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue