mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Add typing to function argument
CURA-9277 Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
This commit is contained in:
parent
b6a461bd08
commit
6253fb2fdc
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class MachineListModel(ListModel):
|
||||||
for stack in other_machine_stacks:
|
for stack in other_machine_stacks:
|
||||||
self.addItem(stack, False)
|
self.addItem(stack, False)
|
||||||
|
|
||||||
def addItem(self, container_stack: ContainerStack, is_online, machine_count: int = 0) -> None:
|
def addItem(self, container_stack: ContainerStack, is_online: bool, machine_count: int = 0) -> None:
|
||||||
if parseBool(container_stack.getMetaDataEntry("hidden", False)):
|
if parseBool(container_stack.getMetaDataEntry("hidden", False)):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue