mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Reintroduce hack for waiting state in monitor.
Some printers don't send the correct state it seems, so we have to have this hack back. CURA-8764
This commit is contained in:
parent
a90d052f58
commit
0e3524cddb
1 changed files with 6 additions and 0 deletions
|
@ -73,6 +73,12 @@ Item
|
||||||
switch (printJob.state)
|
switch (printJob.state)
|
||||||
{
|
{
|
||||||
case "wait_cleanup":
|
case "wait_cleanup":
|
||||||
|
// This hack was removed previously. Then we found out that we don't get back 'aborted_wait_cleanup'
|
||||||
|
// for the UM2+C it seems. Will communicate this to other teams, in the mean time, put this back.
|
||||||
|
if (printJob.timeTotal > printJob.timeElapsed)
|
||||||
|
{
|
||||||
|
return catalog.i18nc("@label:status", "Aborted");
|
||||||
|
}
|
||||||
return catalog.i18nc("@label:status", "Finished");
|
return catalog.i18nc("@label:status", "Finished");
|
||||||
case "finished":
|
case "finished":
|
||||||
return catalog.i18nc("@label:status", "Finished");
|
return catalog.i18nc("@label:status", "Finished");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue