mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix typing issues
This commit is contained in:
parent
2676c7fa2f
commit
d548404dfd
4 changed files with 10 additions and 4 deletions
|
@ -1515,6 +1515,8 @@ class MachineManager(QObject):
|
|||
# \param intent_category The intent category to change to.
|
||||
def setIntentByCategory(self, intent_category: str) -> None:
|
||||
global_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
||||
if global_stack is None:
|
||||
return
|
||||
container_tree = ContainerTree.getInstance()
|
||||
for extruder in global_stack.extruderList:
|
||||
definition_id = global_stack.definition.getId()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue