Browse Source

Fix typing

Discovered during work on CURA-6793.
Ghostkeeper 5 years ago
parent
commit
44a59a7f3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Settings/MachineManager.py

+ 1 - 1
cura/Settings/MachineManager.py

@@ -303,7 +303,7 @@ class MachineManager(QObject):
         if not containers:
             return
 
-        global_stack = containers[0]
+        global_stack = cast(GlobalStack, containers[0])
 
         # Make sure that the default machine actions for this machine have been added
         self._application.getMachineActionManager().addDefaultMachineActions(global_stack)