#4351 Regression test : Guard null pointer access

This commit is contained in:
Magne Sjaastad
2019-04-24 07:41:11 +02:00
parent 195fc85a5a
commit 5123d5d0c5
3 changed files with 11 additions and 7 deletions

View File

@@ -1717,7 +1717,7 @@ bool RimEclipseView::isTimeStepDependentDataVisible() const
if (this->faultResultSettings()->customFaultResult()->isTernarySaturationSelected()) return true;
}
if (this->wellPathCollection()->anyWellsContainingPerforationIntervals()) return true;
if (this->wellPathCollection() && this->wellPathCollection()->anyWellsContainingPerforationIntervals()) return true;
if (this->hasVisibleTimeStepDependent3dWellLogCurves()) return true;