mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -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:
|
||||
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)):
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue