mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Don't show "active print" header if no printer is connected
CL-541
This commit is contained in:
parent
ed9634ebe0
commit
df1bf419d9
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue