mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard nullpointer crash
This commit is contained in:
parent
3b5621a6aa
commit
27339a91fa
@ -537,7 +537,7 @@ void RimIntersectionCollection::defineEditorAttribute( const caf::PdmFieldHandle
|
||||
{
|
||||
RimEclipseView* eclView = eclipseView();
|
||||
|
||||
if ( eclView )
|
||||
if ( eclView && eclView->mainGrid() )
|
||||
{
|
||||
const cvf::BoundingBox bb = eclView->mainGrid()->boundingBox();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user