mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue