mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 00:34:26 +08:00
Code style, duplicate material
CURA-5673
This commit is contained in:
parent
5db008f763
commit
f0e8746a22
@ -592,7 +592,7 @@ class MaterialManager(QObject):
|
||||
self._container_registry.addContainer(container_to_add)
|
||||
|
||||
|
||||
#if duplicated material was favorite then new material should also be added to favorite.
|
||||
# if the duplicated material was favorite then the new material should also be added to favorite.
|
||||
if root_material_id in self.getFavorites():
|
||||
self.addFavorite(new_base_id)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user