mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -06:00
Fix "critical" error when starting with no active machine
This commit is contained in:
parent
2bff94ba9f
commit
df78bc47af
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ class MachineManager(QObject):
|
||||||
quality = self._active_container_stack.findContainer(type = "quality")
|
quality = self._active_container_stack.findContainer(type = "quality")
|
||||||
if quality:
|
if quality:
|
||||||
return Util.parseBool(quality.getMetaDataEntry("supported", True))
|
return Util.parseBool(quality.getMetaDataEntry("supported", True))
|
||||||
return ""
|
return False
|
||||||
|
|
||||||
## Get the Quality ID associated with the currently active extruder
|
## Get the Quality ID associated with the currently active extruder
|
||||||
# Note that this only returns the "quality", not the "quality_changes"
|
# Note that this only returns the "quality", not the "quality_changes"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue