mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Concerning the unfortunate crash...
..of the morning of the 13th day of March, in the 2018th year of our lord.
This commit is contained in:
parent
a87db2d721
commit
69dc4fa5e0
1 changed files with 2 additions and 0 deletions
|
@ -875,6 +875,8 @@ class MachineManager(QObject):
|
||||||
|
|
||||||
@pyqtProperty("QVariantList", notify = globalContainerChanged)
|
@pyqtProperty("QVariantList", notify = globalContainerChanged)
|
||||||
def currentExtruderPositions(self):
|
def currentExtruderPositions(self):
|
||||||
|
if self._global_container_stack is None:
|
||||||
|
return []
|
||||||
return sorted(list(self._global_container_stack.extruders.keys()))
|
return sorted(list(self._global_container_stack.extruders.keys()))
|
||||||
|
|
||||||
## Update _current_root_material_id and _current_root_material_name when
|
## Update _current_root_material_id and _current_root_material_name when
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue