mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:29:01 +08:00
Fix warning about Duration
This commit is contained in:
parent
2c09943bd6
commit
402c53c5f1
@ -132,7 +132,7 @@ class PrintInformation(QObject):
|
|||||||
self._updateJobName()
|
self._updateJobName()
|
||||||
self.preSlicedChanged.emit()
|
self.preSlicedChanged.emit()
|
||||||
|
|
||||||
@pyqtProperty(Duration, notify = currentPrintTimeChanged)
|
@pyqtProperty(QObject, notify = currentPrintTimeChanged)
|
||||||
def currentPrintTime(self) -> Duration:
|
def currentPrintTime(self) -> Duration:
|
||||||
return self._current_print_time[self._active_build_plate]
|
return self._current_print_time[self._active_build_plate]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user