Don't show "active print" header if no printer is connected

CL-541
This commit is contained in:
Jaime van Kessel 2018-01-08 11:44:30 +01:00
parent ed9634ebe0
commit df1bf419d9

View file

@ -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