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:
parent
45cc94abd2
commit
1d88f4d48a
@ -490,7 +490,10 @@ void RimViewController::setManagedView( RimGridView* view )
|
||||
updateDisplayNameAndIcon();
|
||||
updateTimeStepLink();
|
||||
|
||||
m_managedView->updateHolder();
|
||||
if ( m_managedView )
|
||||
{
|
||||
m_managedView->updateHolder();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user