mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Allow pre-heating bed while pausing
It is allowed during the pause. So it should also be allowed when transitioning towards the pause. Contributes to issue CURA-3161.
This commit is contained in:
parent
34f929c9df
commit
98e3e2a25a
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ Column
|
||||||
{
|
{
|
||||||
return false; //Can't preheat if not connected.
|
return false; //Can't preheat if not connected.
|
||||||
}
|
}
|
||||||
if (connectedPrinter.jobState == "printing" || connectedPrinter.jobState == "pre_print" || connectedPrinter.jobState == "pausing" || connectedPrinter.jobState == "resuming" || connectedPrinter.jobState == "error" || connectedPrinter.jobState == "offline")
|
if (connectedPrinter.jobState == "printing" || connectedPrinter.jobState == "pre_print" || connectedPrinter.jobState == "resuming" || connectedPrinter.jobState == "error" || connectedPrinter.jobState == "offline")
|
||||||
{
|
{
|
||||||
return false; //Printer is in a state where it can't react to pre-heating.
|
return false; //Printer is in a state where it can't react to pre-heating.
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue