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:
Ghostkeeper 2017-02-08 10:19:20 +01:00
parent 34f929c9df
commit 98e3e2a25a
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -337,7 +337,7 @@ Column
{
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.
}