Forward wellLogTrack::zoomAll to depth track plot

This commit is contained in:
Magne Sjaastad
2022-11-16 07:05:52 +01:00
parent ba8587d6ae
commit 0e5d121993
2 changed files with 5 additions and 4 deletions

View File

@@ -1966,9 +1966,10 @@ QImage RimWellLogTrack::snapshotWindowContent()
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::zoomAll()
{
setAutoScalePropertyValuesEnabled( true );
setAutoScaleDepthValuesEnabled( true );
updateZoomInParentPlot();
RimDepthTrackPlot* plot = nullptr;
firstAncestorOrThisOfType( plot );
if ( plot ) plot->zoomAll();
}
//--------------------------------------------------------------------------------------------------