mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Fix mypy complaints
CURA-7827
This commit is contained in:
parent
845c994cbc
commit
a1c7ebe1c3
1 changed files with 3 additions and 0 deletions
|
@ -861,6 +861,9 @@ class MachineManager(QObject):
|
||||||
def _correctPrintSequence(self) -> None:
|
def _correctPrintSequence(self) -> None:
|
||||||
"""Resets the Print Sequence setting when there are more than one enabled extruders."""
|
"""Resets the Print Sequence setting when there are more than one enabled extruders."""
|
||||||
|
|
||||||
|
if self._global_container_stack is None:
|
||||||
|
return
|
||||||
|
|
||||||
setting_key = "print_sequence"
|
setting_key = "print_sequence"
|
||||||
new_value = "all_at_once"
|
new_value = "all_at_once"
|
||||||
user_changes_container = self._global_container_stack.userChanges
|
user_changes_container = self._global_container_stack.userChanges
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue