mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Fix incorect error checking
We don't need to check the global stack for errors, as the correct values are already checked by looking at the extruder stacks
This commit is contained in:
parent
1d7f2e645e
commit
4b956953a6
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class MachineErrorChecker(QObject):
|
||||||
|
|
||||||
# Populate the (stack, key) tuples to check
|
# Populate the (stack, key) tuples to check
|
||||||
self._stacks_and_keys_to_check = deque()
|
self._stacks_and_keys_to_check = deque()
|
||||||
for stack in [global_stack] + list(global_stack.extruders.values()):
|
for stack in global_stack.extruders.values():
|
||||||
for key in stack.getAllKeys():
|
for key in stack.getAllKeys():
|
||||||
self._stacks_and_keys_to_check.append((stack, key))
|
self._stacks_and_keys_to_check.append((stack, key))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue