mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Check for NULL before using pointer
p4#: 21465
This commit is contained in:
parent
b00f455e94
commit
3ef803af01
@ -57,7 +57,11 @@ Rim3dOverlayInfoConfig::~Rim3dOverlayInfoConfig()
|
||||
void Rim3dOverlayInfoConfig::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
||||
{
|
||||
this->update3DInfo();
|
||||
m_reservoirView->viewer()->update();
|
||||
|
||||
if (m_reservoirView && m_reservoirView->viewer())
|
||||
{
|
||||
m_reservoirView->viewer()->update();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user