mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ Column
|
|||
height: UM.Theme.getSize("setting_control").height
|
||||
enabled:
|
||||
{
|
||||
if (!connectedPrinter != null)
|
||||
if (connectedPrinter == null)
|
||||
{
|
||||
return false; //Can't preheat if not connected.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue