mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Small guard RiuViewer
This commit is contained in:
parent
27c2c040fe
commit
1f2bea106f
@ -138,10 +138,12 @@ RiuViewer::RiuViewer(const QGLFormat& format, QWidget* parent)
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuViewer::~RiuViewer()
|
||||
{
|
||||
if (m_reservoirView)
|
||||
{
|
||||
m_reservoirView->showWindow = false;
|
||||
m_reservoirView->cameraPosition = m_mainCamera->viewMatrix();
|
||||
|
||||
}
|
||||
delete m_InfoLabel;
|
||||
delete m_animationProgress;
|
||||
delete m_histogramWidget;
|
||||
|
Loading…
Reference in New Issue
Block a user