mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08:00
Show pause text even if there is nothing to pause
CL-541
This commit is contained in:
parent
42b50bf749
commit
faa4af634a
@ -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…
x
Reference in New Issue
Block a user