mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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 ""
|
return ""
|
||||||
}
|
}
|
||||||
var linkedMaterials = Cura.ContainerManager.getLinkedMaterials(base.currentItem.container_node, true);
|
var linkedMaterials = Cura.ContainerManager.getLinkedMaterials(base.currentMaterialNode, true);
|
||||||
if (linkedMaterials.length == 0)
|
if (linkedMaterials.length == 0)
|
||||||
{
|
{
|
||||||
return ""
|
return ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue