mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
#5019 Fix crash when case is not set in Separate intersection Result
This commit is contained in:
parent
919f035a48
commit
baedf02ba9
@ -168,10 +168,12 @@ RimCase* Rim2dIntersectionView::ownerCase() const
|
||||
{
|
||||
rimCase = sepInterResultDef->activeCase();
|
||||
}
|
||||
else
|
||||
|
||||
if ( !rimCase )
|
||||
{
|
||||
this->firstAncestorOrThisOfTypeAsserted( rimCase );
|
||||
}
|
||||
|
||||
return rimCase;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user