#2130 Avoid resetting zoom when last curve is removed

This commit is contained in:
Jacob Støren 2017-11-12 15:46:32 +01:00
parent 645421fa60
commit fadc9d12ff

View File

@ -597,7 +597,10 @@ void RimWellRftPlot::updateCurvesInPlot(const std::set<RiaRftPltCurveDefinition>
}
m_wellLogPlot->loadDataAndUpdate();
m_wellLogPlot->zoomAll();
if ( plotTrack->curveCount() )
{
m_wellLogPlot->zoomAll();
}
}
//--------------------------------------------------------------------------------------------------