From df1bf419d93a909fcceeb052ed2daaf668b3d728 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 8 Jan 2018 11:44:30 +0100 Subject: [PATCH] Don't show "active print" header if no printer is connected CL-541 --- resources/qml/PrintMonitor.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/qml/PrintMonitor.qml b/resources/qml/PrintMonitor.qml index 6fc4d8847d..471729192e 100644 --- a/resources/qml/PrintMonitor.qml +++ b/resources/qml/PrintMonitor.qml @@ -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