mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7296 Property Filter : Crash when creating a property filter when no valid cell results is active
This commit is contained in:
parent
acd78daa3f
commit
f55da30f4d
@ -396,7 +396,10 @@ void RimEclipsePropertyFilter::computeResultValueRange()
|
||||
RigCaseCellResultsData* results = m_resultDefinition->currentGridCellResults();
|
||||
if ( results )
|
||||
{
|
||||
results->minMaxCellScalarValues( scalarIndex, min, max );
|
||||
if ( results->hasResultEntry( scalarIndex ) )
|
||||
{
|
||||
results->minMaxCellScalarValues( scalarIndex, min, max );
|
||||
}
|
||||
|
||||
if ( m_resultDefinition->hasCategoryResult() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user