mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4322 Ensure toggling of data sets don't cause zoom all
This commit is contained in:
parent
34fd604bd8
commit
58735350a3
@ -312,7 +312,7 @@ void RimGridCrossPlot::updateZoomWindowFromQwt()
|
||||
|
||||
updateAxisFromQwt(RiaDefines::PLOT_AXIS_LEFT);
|
||||
updateAxisFromQwt(RiaDefines::PLOT_AXIS_BOTTOM);
|
||||
this->updateConnectedEditors();
|
||||
setAutoZoomForAllAxes(false);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -167,9 +167,7 @@ void RimGridCrossPlotCurve::onLoadDataAndUpdate(bool updateParentPlot)
|
||||
{
|
||||
if (updateParentPlot)
|
||||
{
|
||||
RimGridCrossPlot* crossPlot;
|
||||
firstAncestorOrThisOfTypeAsserted(crossPlot);
|
||||
crossPlot->reattachCurvesToQwtAndReplot();
|
||||
m_parentQwtPlot->replot();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user