mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix a surface collection crash in RimGeoMechView
This commit is contained in:
@@ -1858,7 +1858,7 @@ bool RimEclipseView::isTimeStepDependentDataVisible() const
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( this->surfaceInViewCollection()->hasAnyActiveSeparateResults() )
|
||||
if ( this->surfaceInViewCollection() && this->surfaceInViewCollection()->hasAnyActiveSeparateResults() )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user