mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#691) Added option to keep the depth range fixed
This commit is contained in:
@@ -92,7 +92,7 @@ void RimWellLogTrack::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
|
||||
if (wellLogPlot)
|
||||
{
|
||||
wellLogPlot->calculateAvailableDepthRange();
|
||||
wellLogPlot->zoomAllDepth();
|
||||
wellLogPlot->updateDepthZoom();
|
||||
if (wellLogPlot->viewer()) wellLogPlot->viewer()->updateChildrenLayout();
|
||||
}
|
||||
}
|
||||
@@ -268,7 +268,7 @@ void RimWellLogTrack::zoomAllXAndZoomAllDepthOnOwnerPlot()
|
||||
firstAnchestorOrThisOfType(wellLogPlot);
|
||||
if (wellLogPlot)
|
||||
{
|
||||
wellLogPlot->zoomAllDepth();
|
||||
wellLogPlot->updateDepthZoom();
|
||||
}
|
||||
|
||||
zoomAllXAxisIfAutoScale();
|
||||
|
||||
Reference in New Issue
Block a user