mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:09:08 +08:00
Show the printer unreachable status in the Cura Connect tab when needed.
CL-508
This commit is contained in:
parent
a5aa13f853
commit
b68707d29c
@ -39,7 +39,8 @@ Rectangle
|
||||
return catalog.i18nc("@label:status", "Printing");
|
||||
case "idle":
|
||||
return catalog.i18nc("@label:status", "Available");
|
||||
case "unreachable": // TODO: new string
|
||||
case "unreachable":
|
||||
return catalog.i18nc("@label:MonitorStatus", "Lost connection with the printer");
|
||||
case "maintenance": // TODO: new string
|
||||
case "unknown":
|
||||
default:
|
||||
@ -165,6 +166,7 @@ Rectangle
|
||||
anchors.right: printProgressArea.left
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
color: emphasisColor
|
||||
opacity: printer != null && printer.status === "unreachable" ? 0.3 : 1
|
||||
|
||||
Image
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user