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:
authorj.spijker@ultimaker.com <jelle spijker>2022-07-29 13:13:12 +0300
committerjspijker <j.spijker@ultimaker.com>2022-07-29 13:13:12 +0300
commitd9e3e4d395b84a90c9cbf6d75c7723032cb84e1c (patch)
treed38a8b4aaf8be8de0cb61a558d08fdebaf4e4fed /cura/UI
parenta88e31eddd559b4790458d25c504e701df41818c (diff)
Made slice_uuid a public field
Contributes to CURA-9031
Diffstat (limited to 'cura/UI')
-rw-r--r--cura/UI/PrintInformation.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/cura/UI/PrintInformation.py b/cura/UI/PrintInformation.py
index ce2a0cfed1..2b8e13b09f 100644
--- a/cura/UI/PrintInformation.py
+++ b/cura/UI/PrintInformation.py
@@ -38,7 +38,7 @@ class PrintInformation(QObject):
self.initializeCuraMessagePrintTimeProperties()
- self._slice_uuid: Optional[str] = None
+ self.slice_uuid: Optional[str] = None
# Indexed by build plate number
self._material_lengths = {} # type: Dict[int, List[float]]
@@ -134,14 +134,6 @@ class PrintInformation(QObject):
self._updateJobName()
self.preSlicedChanged.emit()
- @property
- def slice_uuid(self) -> Optional[str]:
- return self._slice_uuid
-
- @slice_uuid.setter
- def slice_uuid(self, value: Optional[str]) -> None:
- self._slice_uuid = value
-
@pyqtProperty(QObject, notify = currentPrintTimeChanged)
def currentPrintTime(self) -> Duration:
return self._current_print_time[self._active_build_plate]