From 7fa174807e4490202e004e4145cb729445510163 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Tue, 26 Feb 2019 11:21:08 +0100 Subject: [PATCH] #4139 Ensure property editor is in sync with Qwt range --- ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp b/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp index 195484aa6d..a4ac146f06 100644 --- a/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp @@ -1228,7 +1228,6 @@ void RimSummaryPlot::onLoadDataAndUpdate() if (m_qwtPlot) m_qwtPlot->updateLegend(); this->updateAxes(); - updateZoomInQwt(); } //-------------------------------------------------------------------------------------------------- @@ -1244,6 +1243,8 @@ void RimSummaryPlot::updateZoomInQwt() updateZoomForAxis(RiaDefines::PLOT_AXIS_RIGHT); m_qwtPlot->replot(); + + updateAxisRangesFromQwt(); } }