#4139 Ensure property editor is in sync with Qwt range

This commit is contained in:
Gaute Lindkvist 2019-02-26 11:21:08 +01:00
parent 4c026952a1
commit 7fa174807e

View File

@ -1228,7 +1228,6 @@ void RimSummaryPlot::onLoadDataAndUpdate()
if (m_qwtPlot) m_qwtPlot->updateLegend(); if (m_qwtPlot) m_qwtPlot->updateLegend();
this->updateAxes(); this->updateAxes();
updateZoomInQwt();
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
@ -1244,6 +1243,8 @@ void RimSummaryPlot::updateZoomInQwt()
updateZoomForAxis(RiaDefines::PLOT_AXIS_RIGHT); updateZoomForAxis(RiaDefines::PLOT_AXIS_RIGHT);
m_qwtPlot->replot(); m_qwtPlot->replot();
updateAxisRangesFromQwt();
} }
} }