mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Move removeQualityChangesGroup() into QualityManager
This commit is contained in:
parent
6cae82a64e
commit
8324f4f44e
3 changed files with 23 additions and 12 deletions
|
@ -382,15 +382,6 @@ class ContainerManager(QObject):
|
|||
|
||||
self._container_registry.addContainer(new_changes)
|
||||
|
||||
#
|
||||
# Remove the given quality changes group
|
||||
#
|
||||
@pyqtSlot(QObject)
|
||||
def removeQualityChangesGroup(self, quality_changes_group):
|
||||
Logger.log("i", "Removing quality changes group [%s]", quality_changes_group.name)
|
||||
for node in quality_changes_group.getAllNodes():
|
||||
self._container_registry.removeContainer(node.metadata["id"])
|
||||
|
||||
#
|
||||
# Rename a set of quality changes containers. Returns the new name.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue