mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Fix the linked materials button.
Contributes to CURA-5682.
This commit is contained in:
parent
a909c8f029
commit
9ba4c723f7
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ TabView
|
|||
{
|
||||
return ""
|
||||
}
|
||||
var linkedMaterials = Cura.ContainerManager.getLinkedMaterials(base.currentItem.container_node, true);
|
||||
var linkedMaterials = Cura.ContainerManager.getLinkedMaterials(base.currentMaterialNode, true);
|
||||
if (linkedMaterials.length == 0)
|
||||
{
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue