mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 02:59:02 +08: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
@ -37,7 +37,7 @@ TabView
|
||||
{
|
||||
reevaluateLinkedMaterials = false;
|
||||
}
|
||||
if (!base.containerId || !base.editingEnabled)
|
||||
if (!base.containerId || !base.editingEnabled || !base.currentMaterialNode)
|
||||
{
|
||||
return ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user