mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Defensive coding: Don't get the linked material if there is no material
Fixes Sentry issue CURA-17W.
This commit is contained in:
parent
bd02f9116a
commit
0ecefde880
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ TabView
|
||||||
{
|
{
|
||||||
reevaluateLinkedMaterials = false;
|
reevaluateLinkedMaterials = false;
|
||||||
}
|
}
|
||||||
if (!base.containerId || !base.editingEnabled)
|
if (!base.containerId || !base.editingEnabled || !base.currentMaterialNode)
|
||||||
{
|
{
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue