mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Fix removeMaterial.
The base_file must be removed first, or it gets loaded halfway during remove containers. Contributes to issue CURA-4243.
This commit is contained in:
parent
7d24933835
commit
eb171231c2
3 changed files with 10 additions and 2 deletions
|
@ -118,7 +118,7 @@ class ContainerManager(QObject):
|
|||
def removeContainer(self, container_id):
|
||||
containers = self._container_registry.findContainers(id = container_id)
|
||||
if not containers:
|
||||
Logger.log("w", "Could remove container %s because it was not found.", container_id)
|
||||
Logger.log("w", "Could not remove container %s because it was not found.", container_id)
|
||||
return False
|
||||
|
||||
self._container_registry.removeContainer(containers[0].getId())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue