mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:29:02 +08:00
Hide the header if it would be empty
It would be empty if the machine is single extrusion and has no materials or variants. Contributes to issue CURA-4241.
This commit is contained in:
parent
0fc40d571a
commit
062957c249
@ -89,6 +89,7 @@ Rectangle
|
||||
SidebarHeader {
|
||||
id: header
|
||||
width: parent.width
|
||||
visible: machineExtruderCount.properties.value > 1 || Cura.MachineManager.hasMaterials || Cura.MachineManager.hasVariants
|
||||
|
||||
onShowTooltip: base.showTooltip(item, location, text)
|
||||
onHideTooltip: base.hideTooltip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user