mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 20:43:11 +08:00
Commit suggestion by Jelle
CURA-9424
This commit is contained in:
parent
62274c4dac
commit
57e1c7a4ce
@ -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…
x
Reference in New Issue
Block a user