In RimWellLogPlot: Keep custom zoom factors on load and update

This commit is contained in:
Rebecca Cox 2017-11-08 16:11:53 +01:00
parent 52c1f27ad2
commit 1321b0d754

View File

@ -593,7 +593,12 @@ void RimWellLogPlot::defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering&
void RimWellLogPlot::onLoadDataAndUpdate()
{
updateMdiWindowVisibility();
bool tempAutoScale = m_isAutoScaleDepthEnabled;
m_isAutoScaleDepthEnabled = false;
updateTracks();
m_isAutoScaleDepthEnabled = tempAutoScale;
}
//--------------------------------------------------------------------------------------------------