Move setMaterialName to MaterialManagementModel

No longer use the material manager which is deprecated.

Contributes to issue CURA-6600.
This commit is contained in:
Ghostkeeper 2019-08-27 14:26:06 +02:00
parent 5b8ed91b04
commit 99ccddefa4
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 17 additions and 2 deletions

View file

@ -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
}