#5135 Avoid crash when clicking on a simulation wlel in a statistics case

This commit is contained in:
Gaute Lindkvist 2019-11-29 15:41:28 +01:00
parent 4f7fc18e1c
commit 2336ff4908

View File

@ -54,7 +54,7 @@ bool RicShowContributingWellsFeature::isCommandEnabled()
if ( !flowDiagSolution )
{
RimEclipseResultCase* eclipseResultCase = nullptr;
well->firstAncestorOrThisOfTypeAsserted( eclipseResultCase );
well->firstAncestorOrThisOfType( eclipseResultCase );
if ( eclipseResultCase )
{