mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:45:52 +08:00
Disable pre-heat button when not connected
This covers the case when there is no printer added as well as the case where a printer is added but not connected. Contributes to issue CURA-3161.
This commit is contained in:
parent
b1448887ba
commit
f24d778cc5
@ -272,6 +272,7 @@ Column
|
|||||||
text: catalog.i18nc("@button", "Pre-heat")
|
text: catalog.i18nc("@button", "Pre-heat")
|
||||||
tooltip: catalog.i18nc("@tooltip of pre-heat", "Heat the bed in advance before printing. You can continue adjusting your print while it is heating, and you won't have to wait for the bed to heat up when you're ready to print.")
|
tooltip: catalog.i18nc("@tooltip of pre-heat", "Heat the bed in advance before printing. You can continue adjusting your print while it is heating, and you won't have to wait for the bed to heat up when you're ready to print.")
|
||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
|
enabled: printerConnected
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user