#2944 Stop auto-zooming on load of Well Log Curves.

This commit is contained in:
Gaute Lindkvist
2018-05-23 11:28:57 +02:00
parent 87e91069e0
commit 208313f672
12 changed files with 122 additions and 37 deletions

View File

@@ -702,8 +702,7 @@ void RimWellPltPlot::syncCurvesFromUiSelection()
updateWidgetTitleWindowTitle();
m_wellLogPlot->loadDataAndUpdate();
m_wellLogPlot->updateDepthZoom();
plotTrack->updateXZoom();
plotTrack->calculateXZoomRange();
}
//--------------------------------------------------------------------------------------------------
@@ -945,6 +944,10 @@ void RimWellPltPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
updateFormationsOnPlot();
syncSourcesIoFieldFromGuiField();
syncCurvesFromUiSelection();
m_wellLogPlot->updateDepthZoom();
RimWellLogTrack* const plotTrack = m_wellLogPlot->trackByIndex(0);
plotTrack->calculateXZoomRangeAndUpdateQwt();
}
if ( changedField == &m_useStandardConditionCurves
@@ -952,6 +955,11 @@ void RimWellPltPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|| changedField == &m_phases)
{
syncCurvesFromUiSelection();
m_wellLogPlot->updateDepthZoom();
RimWellLogTrack* const plotTrack = m_wellLogPlot->trackByIndex(0);
plotTrack->calculateXZoomRangeAndUpdateQwt();
}
}