mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add additional check
This commit is contained in:
parent
0ce53a3219
commit
ea32743ad5
@ -301,7 +301,8 @@ RimGeoMechContourMapView* RicNewContourMapViewFeature::createGeoMechContourMapFr
|
||||
contourMap->setDefaultCustomName();
|
||||
|
||||
// make sure no surfaces are shown in the view when the contourmap is generated
|
||||
contourMap->surfaceInViewCollection()->setCheckState( Qt::Unchecked );
|
||||
if ( contourMap->surfaceInViewCollection() )
|
||||
contourMap->surfaceInViewCollection()->setCheckState( Qt::Unchecked );
|
||||
|
||||
caf::PdmDocument::updateUiIconStateRecursively( contourMap );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user