mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Commit suggestion by Jelle
CURA-9424
This commit is contained in:
parent
62274c4dac
commit
57e1c7a4ce
1 changed files with 7 additions and 16 deletions
|
@ -129,17 +129,8 @@ class MachineListModel(ListModel):
|
|||
other_machine_stacks.remove(stack)
|
||||
|
||||
if len(abstract_machine_stacks) > 0:
|
||||
if self._show_cloud_printers:
|
||||
self.appendItem({
|
||||
"componentType": "HIDE_BUTTON",
|
||||
"isOnline": True,
|
||||
"isAbstractMachine": False,
|
||||
"machineCount": 0,
|
||||
"catergory": "connected",
|
||||
})
|
||||
else:
|
||||
self.appendItem({
|
||||
"componentType": "SHOW_BUTTON",
|
||||
"componentType": "HIDE_BUTTON" if self._show_cloud_printers else "SHOW_BUTTON",
|
||||
"isOnline": True,
|
||||
"isAbstractMachine": False,
|
||||
"machineCount": 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue