mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Prevent abstract machines from being deleted in the config menu
CURA-9277
This commit is contained in:
parent
8bb2671a28
commit
27fc11b840
2 changed files with 4 additions and 3 deletions
|
@ -172,6 +172,7 @@ class GlobalStacksModel(ListModel):
|
|||
"metadata": container_stack.getMetaData().copy(),
|
||||
"discoverySource": section_name,
|
||||
"removalWarning": removal_warning,
|
||||
"isOnline": is_online})
|
||||
"isOnline": is_online,
|
||||
"isAbstractMachine": is_abstract_machine})
|
||||
items.sort(key=lambda i: (not i["hasRemoteConnection"], i["name"]))
|
||||
self.setItems(items)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue