mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +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)
|
||||
|
||||
text: {
|
||||
var result = "";
|
||||
if (!printerConnected || activePrintJob == null)
|
||||
{
|
||||
return "";
|
||||
return catalog.i18nc("@label:", "Pause");
|
||||
}
|
||||
|
||||
if (activePrintJob.state == "paused")
|
||||
|
Loading…
x
Reference in New Issue
Block a user