Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeydelarago <joeydelarago@gmail.com>2022-08-31 11:19:02 +0300
committerjoeydelarago <joeydelarago@gmail.com>2022-08-31 11:19:02 +0300
commit760e53c401e7fc9af2536a5ccd1c41a7af4566a2 (patch)
treeea589bd846165bbca8dbf4a0e6426e834b312902 /cura/Machines
parentdaab1aae713fb4d060512fa72f37d3714b2c7e36 (diff)
Fix indentation
Remove debug statement CURA-9514
Diffstat (limited to 'cura/Machines')
-rw-r--r--cura/Machines/Models/MachineListModel.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/cura/Machines/Models/MachineListModel.py b/cura/Machines/Models/MachineListModel.py
index 66def23a32..82272ca39b 100644
--- a/cura/Machines/Models/MachineListModel.py
+++ b/cura/Machines/Models/MachineListModel.py
@@ -103,21 +103,20 @@ class MachineListModel(ListModel):
if len(abstract_machine_stacks) > 0:
if self._show_cloud_printers:
- self.appendItem({ "listType": "HIDE_BUTTON",
- "isOnline": True,
- "isAbstractMachine": False,
- "machineCount": 0
+ self.appendItem({"listType": "HIDE_BUTTON",
+ "isOnline": True,
+ "isAbstractMachine": False,
+ "machineCount": 0
})
else:
self.appendItem({"listType": "SHOW_BUTTON",
- "isOnline": True,
- "isAbstractMachine": False,
- "machineCount": 0
+ "isOnline": True,
+ "isAbstractMachine": False,
+ "machineCount": 0
})
for stack in other_machine_stacks:
self.addItem(stack)
- print(self.items)
def addItem(self, container_stack: ContainerStack, machine_count: int = 0) -> None:
if parseBool(container_stack.getMetaDataEntry("hidden", False)):