mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:45:52 +08:00
Fix mypy complaints
CURA-7827
This commit is contained in:
parent
845c994cbc
commit
a1c7ebe1c3
@ -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…
x
Reference in New Issue
Block a user