mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Simplify set update
This commit is contained in:
parent
c93643bc2f
commit
e3e470cb96
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ class QualityGroup(QObject):
|
|||
for node in [self.node_for_global] + list(self.nodes_for_extruders.values()):
|
||||
if node is None:
|
||||
continue
|
||||
for key in node.getContainer().getAllKeys():
|
||||
result.add(key)
|
||||
result.update(node.getContainer().getAllKeys())
|
||||
return result
|
||||
|
||||
def getAllNodes(self) -> List["QualityGroup"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue