mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05:00
#13938 SummaryMultiPlot: Guard against null curve point tracker
This commit is contained in:
@@ -292,7 +292,7 @@ RiuPlotWidget* RiuSummaryQwtPlot::plotWidget() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuSummaryQwtPlot::enableCurvePointTracking( bool enable )
|
||||
{
|
||||
m_curvePointTracker->setEnabled( enable );
|
||||
if ( m_curvePointTracker ) m_curvePointTracker->setEnabled( enable );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user