mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard null pointer access
This commit is contained in:
@@ -490,7 +490,10 @@ void RimViewController::setManagedView( RimGridView* view )
|
||||
updateDisplayNameAndIcon();
|
||||
updateTimeStepLink();
|
||||
|
||||
m_managedView->updateHolder();
|
||||
if ( m_managedView )
|
||||
{
|
||||
m_managedView->updateHolder();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user