Show pause text even if there is nothing to pause

CL-541
This commit is contained in:
Jaime van Kessel 2018-01-04 09:58:15 +01:00
parent 42b50bf749
commit faa4af634a

View file

@ -277,10 +277,9 @@ Item
(["paused", "printing"].indexOf(activePrintJob.state) >= 0)
text: {
var result = "";
if (!printerConnected || activePrintJob == null)
{
return "";
return catalog.i18nc("@label:", "Pause");
}
if (activePrintJob.state == "paused")