mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Move setMaterialName to MaterialManagementModel
No longer use the material manager which is deprecated. Contributes to issue CURA-6600.
This commit is contained in:
parent
5b8ed91b04
commit
99ccddefa4
2 changed files with 17 additions and 2 deletions
|
@ -565,7 +565,7 @@ TabView
|
|||
}
|
||||
|
||||
// update the values
|
||||
CuraApplication.getMaterialManager().setMaterialName(base.currentMaterialNode, new_name)
|
||||
base.materialManagement.setMaterialName(base.currentMaterialNode, new_name)
|
||||
properties.name = new_name
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue