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
@ -395,8 +395,11 @@ void RimEclipsePropertyFilter::computeResultValueRange()
|
|||||||
{
|
{
|
||||||
RigCaseCellResultsData* results = m_resultDefinition->currentGridCellResults();
|
RigCaseCellResultsData* results = m_resultDefinition->currentGridCellResults();
|
||||||
if ( results )
|
if ( results )
|
||||||
|
{
|
||||||
|
if ( results->hasResultEntry( scalarIndex ) )
|
||||||
{
|
{
|
||||||
results->minMaxCellScalarValues( scalarIndex, min, max );
|
results->minMaxCellScalarValues( scalarIndex, min, max );
|
||||||
|
}
|
||||||
|
|
||||||
if ( m_resultDefinition->hasCategoryResult() )
|
if ( m_resultDefinition->hasCategoryResult() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user