Changed final spot where we still used findContainer when looking for container with specific type

This commit is contained in:
Jaime van Kessel 2017-05-15 14:02:07 +02:00
parent f7f958c540
commit d93c5e667b

View file

@ -85,7 +85,7 @@ class ExtruderManager(QObject):
for position in self._extruder_trains[Application.getInstance().getGlobalContainerStack().getId()]:
extruder = self._extruder_trains[Application.getInstance().getGlobalContainerStack().getId()][position]
if extruder.getId() == id:
return extruder.findContainer(type = "quality_changes").getId()
return extruder.qualityChanges.getId()
## The instance of the singleton pattern.
#