mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:28:59 +08:00
Fix the linked materials button.
Contributes to CURA-5682.
This commit is contained in:
parent
a909c8f029
commit
9ba4c723f7
@ -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…
x
Reference in New Issue
Block a user