mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
Move setMaterialName() into MaterialManager
This commit is contained in:
parent
f7377e6321
commit
c6128ef5ba
4 changed files with 22 additions and 13 deletions
|
@ -12,6 +12,8 @@ TabView
|
|||
{
|
||||
id: base
|
||||
|
||||
property QtObject materialManager: CuraApplication.getMaterialManager()
|
||||
|
||||
property QtObject properties
|
||||
property var currentMaterialNode: null
|
||||
|
||||
|
@ -497,7 +499,7 @@ TabView
|
|||
}
|
||||
|
||||
// update the values
|
||||
Cura.ContainerManager.setMaterialName(base.currentMaterialNode, new_name)
|
||||
base.materialManager.setMaterialName(base.currentMaterialNode, new_name)
|
||||
materialProperties.name = new_name
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue