mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Change 18604 on 2012/09/11 by magne@magne_at_MAGNE
Added check for NULL pointer
This commit is contained in:
parent
b3c142cc9a
commit
ad95533d2f
@ -85,7 +85,7 @@ void Rim3dOverlayInfoConfig::update3DInfo()
|
||||
QString propName;
|
||||
QString cellEdgeName;
|
||||
|
||||
if (m_reservoirView->eclipseCase())
|
||||
if (m_reservoirView->eclipseCase() && m_reservoirView->eclipseCase()->reservoirData())
|
||||
{
|
||||
caseName = m_reservoirView->eclipseCase()->caseName();
|
||||
totCellCount = QString::number(m_reservoirView->eclipseCase()->reservoirData()->mainGrid()->cells().size());
|
||||
|
Loading…
Reference in New Issue
Block a user