mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:25:56 +08:00
Hide estimated time left if print is aborted or completed
In fact, only show it if a time estimate is meaningful. We keep showing the estimate while a print is paused though. Contributes to issue TRI-1550.
This commit is contained in:
parent
fb674ec135
commit
2fda85a6aa
@ -649,6 +649,7 @@ Column
|
|||||||
sourceComponent: monitorItem
|
sourceComponent: monitorItem
|
||||||
property string label: catalog.i18nc("@label", "Estimated time left")
|
property string label: catalog.i18nc("@label", "Estimated time left")
|
||||||
property string value: connectedPrinter != null ? getPrettyTime(connectedPrinter.timeTotal - connectedPrinter.timeElapsed) : ""
|
property string value: connectedPrinter != null ? getPrettyTime(connectedPrinter.timeTotal - connectedPrinter.timeElapsed) : ""
|
||||||
|
visible: connectedPrinter != null && (connectedPrinter.jobState == "printing" || connectedPrinter.jobState == "resuming" || connectedPrinter.jobState == "pausing" || connectedPrinter.jobState == "paused")
|
||||||
}
|
}
|
||||||
|
|
||||||
Component
|
Component
|
||||||
|
Loading…
x
Reference in New Issue
Block a user