mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Cleanup and make sure that group_name is set
This commit is contained in:
parent
d16da3da3a
commit
bed13bf42b
3 changed files with 22 additions and 37 deletions
|
@ -1655,3 +1655,7 @@ class MachineManager(QObject):
|
|||
if results:
|
||||
machine_type_name = results[0]["name"]
|
||||
return machine_type_name
|
||||
|
||||
# Gets all machines that belong to the given group_id.
|
||||
def getMachinesInGroup(self, group_id: str) -> List["GlobalStack"]:
|
||||
return self._container_registry.findContainerStacks(type = "machine", group_id = group_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue