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:
Jaime van Kessel 2019-07-31 10:24:31 +02:00
parent 1d7f2e645e
commit 4b956953a6

View file

@ -127,7 +127,7 @@ class MachineErrorChecker(QObject):
# Populate the (stack, key) tuples to check
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():
self._stacks_and_keys_to_check.append((stack, key))