Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura/UI
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-04-01 17:19:35 +0300
committerJaime van Kessel <nallath@gmail.com>2022-04-01 17:19:35 +0300
commit402c53c5f14f0d684d35263b7fd5be7e52eebdec (patch)
tree5780c4e753b98a859fcc97b167b103805da80211 /cura/UI
parent2c09943bd62d51639974e175c5c29284a3e29b17 (diff)
Fix warning about Duration
Diffstat (limited to 'cura/UI')
-rw-r--r--cura/UI/PrintInformation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/UI/PrintInformation.py b/cura/UI/PrintInformation.py
index a4c1410c0e..e18fc38247 100644
--- a/cura/UI/PrintInformation.py
+++ b/cura/UI/PrintInformation.py
@@ -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]