mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +08: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
@ -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…
x
Reference in New Issue
Block a user