Browse Source

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

Jaime van Kessel 7 years ago
parent
commit
d93c5e667b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Settings/ExtruderManager.py

+ 1 - 1
cura/Settings/ExtruderManager.py

@@ -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.
     #