mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Fix crash when case is not set in eclipse result def.
This commit is contained in:
parent
8ce01c098a
commit
9077031535
@ -714,7 +714,7 @@ QList<caf::PdmOptionItemInfo>
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( resType == RiaDefines::ResultCatType::FLOW_DIAGNOSTICS &&
|
||||
if ( resType == RiaDefines::ResultCatType::FLOW_DIAGNOSTICS && m_eclipseCase &&
|
||||
m_eclipseCase->eclipseCaseData()->hasFractureResults() )
|
||||
{
|
||||
// Flow diagnostics is not supported for dual porosity models
|
||||
|
Loading…
Reference in New Issue
Block a user