mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 14:21:19 -07: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()):
|
for node in [self.node_for_global] + list(self.nodes_for_extruders.values()):
|
||||||
if node is None:
|
if node is None:
|
||||||
continue
|
continue
|
||||||
for key in node.getContainer().getAllKeys():
|
result.update(node.getContainer().getAllKeys())
|
||||||
result.add(key)
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def getAllNodes(self) -> List["QualityGroup"]:
|
def getAllNodes(self) -> List["QualityGroup"]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue