mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5135 Avoid crash when clicking on a simulation wlel in a statistics case
This commit is contained in:
parent
4f7fc18e1c
commit
2336ff4908
@ -54,7 +54,7 @@ bool RicShowContributingWellsFeature::isCommandEnabled()
|
||||
if ( !flowDiagSolution )
|
||||
{
|
||||
RimEclipseResultCase* eclipseResultCase = nullptr;
|
||||
well->firstAncestorOrThisOfTypeAsserted( eclipseResultCase );
|
||||
well->firstAncestorOrThisOfType( eclipseResultCase );
|
||||
|
||||
if ( eclipseResultCase )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user