From 9aa7ac25915e9906aa30bb98274ccc4407700a2f Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Fri, 12 Apr 2019 13:58:33 +0200 Subject: [PATCH] Make sure auto zoom isn't disabled at the end of zoomAll() for grid cross plot --- .../ProjectDataModel/GridCrossPlots/RimGridCrossPlot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/GridCrossPlots/RimGridCrossPlot.cpp b/ApplicationCode/ProjectDataModel/GridCrossPlots/RimGridCrossPlot.cpp index 241aff08dd..75fd58a8ff 100644 --- a/ApplicationCode/ProjectDataModel/GridCrossPlots/RimGridCrossPlot.cpp +++ b/ApplicationCode/ProjectDataModel/GridCrossPlots/RimGridCrossPlot.cpp @@ -171,7 +171,8 @@ void RimGridCrossPlot::zoomAll() m_qwtPlot->replot(); - updateZoomWindowFromQwt(); + updateAxisFromQwt(RiaDefines::PLOT_AXIS_LEFT); + updateAxisFromQwt(RiaDefines::PLOT_AXIS_BOTTOM); } //--------------------------------------------------------------------------------------------------