mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 05:39:37 +08: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
@ -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…
x
Reference in New Issue
Block a user