Fix "critical" error when starting with no active machine

This commit is contained in:
fieldOfView 2016-10-23 11:25:26 +02:00 committed by Ghostkeeper
parent 2bff94ba9f
commit df78bc47af

View file

@ -566,7 +566,7 @@ class MachineManager(QObject):
quality = self._active_container_stack.findContainer(type = "quality")
if quality:
return Util.parseBool(quality.getMetaDataEntry("supported", True))
return ""
return False
## Get the Quality ID associated with the currently active extruder
# Note that this only returns the "quality", not the "quality_changes"