Guard pointer before use

This commit is contained in:
Magne Sjaastad committed 2022-08-09 13:28:18 +02:00
1 parent c3f538c1dd
commit 63b26ebf2d
1 file changed
+1 -1
@@ -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() )
{