#4322 Ensure toggling of data sets don't cause zoom all

This commit is contained in:
Gaute Lindkvist 2019-04-12 13:14:41 +02:00
parent 34fd604bd8
commit 58735350a3
2 changed files with 2 additions and 4 deletions

View File

@ -312,7 +312,7 @@ void RimGridCrossPlot::updateZoomWindowFromQwt()
updateAxisFromQwt(RiaDefines::PLOT_AXIS_LEFT);
updateAxisFromQwt(RiaDefines::PLOT_AXIS_BOTTOM);
this->updateConnectedEditors();
setAutoZoomForAllAxes(false);
}
//--------------------------------------------------------------------------------------------------

View File

@ -167,9 +167,7 @@ void RimGridCrossPlotCurve::onLoadDataAndUpdate(bool updateParentPlot)
{
if (updateParentPlot)
{
RimGridCrossPlot* crossPlot;
firstAncestorOrThisOfTypeAsserted(crossPlot);
crossPlot->reattachCurvesToQwtAndReplot();
m_parentQwtPlot->replot();
}
}