mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Guard pointer before use
This commit is contained in:
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() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user