Remove broken UI element

Seems to have been broken since the move to 5.x...
This commit is contained in:
Jaime van Kessel 2022-09-16 13:54:56 +02:00
parent 90fae7ddb4
commit b7fd75b2dd
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -37,50 +37,6 @@ Item
}
}
// Printer type selector.
Item
{
id: printerTypeSelectorRow
visible:
{
return Cura.MachineManager.printerOutputDevices.length >= 1 //If connected...
&& Cura.MachineManager.printerOutputDevices[0].connectedPrintersTypeCount != null //...and we have configuration information...
&& Cura.MachineManager.printerOutputDevices[0].connectedPrintersTypeCount.length > 1; //...and there is more than one type of printer in the configuration list.
}
height: visible ? childrenRect.height : 0
anchors
{
left: parent.left
right: parent.right
top: header.bottom
topMargin: visible ? UM.Theme.getSize("default_margin").height : 0
}
UM.Label
{
text: catalog.i18nc("@label", "Printer")
width: Math.round(parent.width * 0.3) - UM.Theme.getSize("default_margin").width
height: contentHeight
anchors.verticalCenter: printerTypeSelector.verticalCenter
anchors.left: parent.left
}
Button
{
id: printerTypeSelector
text: Cura.MachineManager.activeMachine !== null ? Cura.MachineManager.activeMachine.definition.name: ""
height: UM.Theme.getSize("print_setup_big_item").height
width: Math.round(parent.width * 0.7) + UM.Theme.getSize("default_margin").width
anchors.right: parent.right
onClicked: menu.open()
//style: UM.Theme.styles.print_setup_header_button
Cura.PrinterTypeMenu { id: menu}
}
}
UM.TabRow
{
id: tabBar