mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard pointer before use
This commit is contained in:
parent
c3f538c1dd
commit
63b26ebf2d
@ -217,7 +217,7 @@ void RimSummaryPlot::updateAxes()
|
||||
updateAxis( RiaDefines::PlotAxis::PLOT_AXIS_LEFT );
|
||||
updateAxis( RiaDefines::PlotAxis::PLOT_AXIS_RIGHT );
|
||||
|
||||
m_summaryPlot->clearAnnotationObjects();
|
||||
if ( m_summaryPlot ) m_summaryPlot->clearAnnotationObjects();
|
||||
|
||||
if ( timeAxisProperties() && plotWidget() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user