mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
#9328 StimPlan Fracture: Fix nullptr crash on failed import.
Fixes #9328.
This commit is contained in:
parent
4a673b7cd5
commit
dc80f582bd
@ -227,6 +227,8 @@ void RimStimPlanFractureTemplate::loadDataAndUpdate()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QStringList RimStimPlanFractureTemplate::conductivityResultNames() const
|
||||
{
|
||||
if ( m_stimPlanFractureDefinitionData.isNull() ) return QStringList();
|
||||
|
||||
return m_stimPlanFractureDefinitionData->conductivityResultNames();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user