mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix incorrect type hinting
This commit is contained in:
parent
42b509cd4a
commit
25e6fd8bec
1 changed files with 1 additions and 1 deletions
|
@ -1183,7 +1183,7 @@ class MachineManager(QObject):
|
|||
if not self._global_container_stack.variant:
|
||||
self._global_container_stack.variant = self._application.empty_variant_container
|
||||
|
||||
def _setMaterial(self, position: str, container_node: ContainerNode = None) -> None:
|
||||
def _setMaterial(self, position: str, container_node: Optional["ContainerNode"] = None) -> None:
|
||||
if self._global_container_stack is None:
|
||||
return
|
||||
if container_node and container_node.getContainer():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue