mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 14:53:12 +08:00
Don't show "active print" header if no printer is connected
CL-541
This commit is contained in:
parent
ed9634ebe0
commit
df1bf419d9
@ -106,6 +106,7 @@ Column
|
||||
{
|
||||
label: catalog.i18nc("@label", "Active print")
|
||||
width: base.width
|
||||
visible: activePrinter != null
|
||||
}
|
||||
|
||||
|
||||
@ -114,6 +115,7 @@ Column
|
||||
label: catalog.i18nc("@label", "Job Name")
|
||||
value: activePrintJob != null ? activePrintJob.name : ""
|
||||
width: base.width
|
||||
visible: activePrinter != null
|
||||
}
|
||||
|
||||
MonitorItem
|
||||
@ -121,6 +123,7 @@ Column
|
||||
label: catalog.i18nc("@label", "Printing Time")
|
||||
value: activePrintJob != null ? getPrettyTime(activePrintJob.timeTotal) : ""
|
||||
width:base.width
|
||||
visible: activePrinter != null
|
||||
}
|
||||
|
||||
MonitorItem
|
||||
|
Loading…
x
Reference in New Issue
Block a user