Fix warning about Duration

This commit is contained in:
Jaime van Kessel 2022-04-01 16:19:35 +02:00
parent 2c09943bd6
commit 402c53c5f1

View file

@ -132,7 +132,7 @@ class PrintInformation(QObject):
self._updateJobName()
self.preSlicedChanged.emit()
@pyqtProperty(Duration, notify = currentPrintTimeChanged)
@pyqtProperty(QObject, notify = currentPrintTimeChanged)
def currentPrintTime(self) -> Duration:
return self._current_print_time[self._active_build_plate]