mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2130 Avoid resetting zoom when last curve is removed
This commit is contained in:
parent
645421fa60
commit
fadc9d12ff
@ -597,7 +597,10 @@ void RimWellRftPlot::updateCurvesInPlot(const std::set<RiaRftPltCurveDefinition>
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_wellLogPlot->loadDataAndUpdate();
|
m_wellLogPlot->loadDataAndUpdate();
|
||||||
m_wellLogPlot->zoomAll();
|
if ( plotTrack->curveCount() )
|
||||||
|
{
|
||||||
|
m_wellLogPlot->zoomAll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user