#9328 StimPlan Fracture: Fix nullptr crash on failed import.

Fixes #9328.
This commit is contained in:
Kristian Bendiksen 2022-10-03 15:39:06 +02:00
parent 4a673b7cd5
commit dc80f582bd

View File

@ -227,6 +227,8 @@ void RimStimPlanFractureTemplate::loadDataAndUpdate()
//--------------------------------------------------------------------------------------------------
QStringList RimStimPlanFractureTemplate::conductivityResultNames() const
{
if ( m_stimPlanFractureDefinitionData.isNull() ) return QStringList();
return m_stimPlanFractureDefinitionData->conductivityResultNames();
}