Fix zoom all in well log plots

This commit is contained in:
Gaute Lindkvist
2019-11-27 11:44:56 +01:00
parent 62817054c4
commit 18090338c7
4 changed files with 23 additions and 14 deletions

View File

@@ -279,6 +279,17 @@ void RimMultiPlotWindow::updateSubPlotNames() {}
//--------------------------------------------------------------------------------------------------
void RimMultiPlotWindow::updatePlotWindowTitle() {}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimMultiPlotWindow::doSetAutoScaleYEnabled( bool enabled )
{
for ( RimPlot* plot : plots() )
{
plot->setAutoScaleYEnabled( enabled );
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -309,10 +320,7 @@ void RimMultiPlotWindow::setAutoScaleXEnabled( bool enabled )
//--------------------------------------------------------------------------------------------------
void RimMultiPlotWindow::setAutoScaleYEnabled( bool enabled )
{
for ( RimPlot* plot : plots() )
{
plot->setAutoScaleYEnabled( enabled );
}
doSetAutoScaleYEnabled( enabled );
}
//--------------------------------------------------------------------------------------------------