mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -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;
|
||||
}
|
||||
if (!base.containerId || !base.editingEnabled)
|
||||
if (!base.containerId || !base.editingEnabled || !base.currentMaterialNode)
|
||||
{
|
||||
return ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue