mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Guard nullpointer crash
This commit is contained in:
1 parent
3b5621a6aa
commit
27339a91fa
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user