mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:25:58 +08:00
Fix button enabled state depending on printer connection
I think I made a mistake when I removed one of the global variables here. Contributes to issue CURA-3161.
This commit is contained in:
parent
b3bd488c07
commit
2f8fc05181
@ -318,7 +318,7 @@ Column
|
|||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
enabled:
|
enabled:
|
||||||
{
|
{
|
||||||
if (!connectedPrinter != null)
|
if (connectedPrinter == null)
|
||||||
{
|
{
|
||||||
return false; //Can't preheat if not connected.
|
return false; //Can't preheat if not connected.
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user