mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:59:02 +08:00
Changed final spot where we still used findContainer when looking for container with specific type
This commit is contained in:
parent
f7f958c540
commit
d93c5e667b
@ -85,7 +85,7 @@ class ExtruderManager(QObject):
|
|||||||
for position in self._extruder_trains[Application.getInstance().getGlobalContainerStack().getId()]:
|
for position in self._extruder_trains[Application.getInstance().getGlobalContainerStack().getId()]:
|
||||||
extruder = self._extruder_trains[Application.getInstance().getGlobalContainerStack().getId()][position]
|
extruder = self._extruder_trains[Application.getInstance().getGlobalContainerStack().getId()][position]
|
||||||
if extruder.getId() == id:
|
if extruder.getId() == id:
|
||||||
return extruder.findContainer(type = "quality_changes").getId()
|
return extruder.qualityChanges.getId()
|
||||||
|
|
||||||
## The instance of the singleton pattern.
|
## The instance of the singleton pattern.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user