Also check the status of the job if it's not printing

CL-524
This commit is contained in:
Jaime van Kessel 2017-10-06 13:32:06 +02:00
parent e9462b17c8
commit 21ad2548b7

View file

@ -245,7 +245,7 @@ Rectangle
return catalog.i18nc("@label:status", "Disabled");
}
if ((printJob != null) && ((printer.status === "pre_print") || (printer.status === "printing")))
if (printJob != null)
{
switch (printJob.status)
{