mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Show pause text even if there is nothing to pause
CL-541
This commit is contained in:
parent
42b50bf749
commit
faa4af634a
1 changed files with 1 additions and 2 deletions
|
|
@ -277,10 +277,9 @@ Item
|
||||||
(["paused", "printing"].indexOf(activePrintJob.state) >= 0)
|
(["paused", "printing"].indexOf(activePrintJob.state) >= 0)
|
||||||
|
|
||||||
text: {
|
text: {
|
||||||
var result = "";
|
|
||||||
if (!printerConnected || activePrintJob == null)
|
if (!printerConnected || activePrintJob == null)
|
||||||
{
|
{
|
||||||
return "";
|
return catalog.i18nc("@label:", "Pause");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (activePrintJob.state == "paused")
|
if (activePrintJob.state == "paused")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue