mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes #6520.
This commit is contained in:
committed by
Magne Sjaastad
parent
7aa0f33811
commit
409db46ab3
@@ -551,7 +551,7 @@ void RimGridView::updateSurfacesInViewTreeItems()
|
||||
RimProject* proj = RimProject::current();
|
||||
RimSurfaceCollection* surfColl = proj->activeOilField()->surfaceCollection();
|
||||
|
||||
if ( surfColl && surfColl->surfaces().size() )
|
||||
if ( surfColl && surfColl->containsSurface() )
|
||||
{
|
||||
if ( !m_surfaceCollection() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user