mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2368 summary plot. Fix right axis properties update issue
This commit is contained in:
parent
065aa92d16
commit
ebabefcd2c
@ -140,7 +140,9 @@ void RiuSummaryQwtPlot::setZoomWindow(const QwtInterval& leftAxis, const QwtInte
|
|||||||
zoomWindow.setTop(leftAxis.maxValue());
|
zoomWindow.setTop(leftAxis.maxValue());
|
||||||
zoomWindow.setBottom(leftAxis.minValue());
|
zoomWindow.setBottom(leftAxis.minValue());
|
||||||
|
|
||||||
|
m_zoomerLeft->blockSignals(true);
|
||||||
m_zoomerLeft->zoom(zoomWindow);
|
m_zoomerLeft->zoom(zoomWindow);
|
||||||
|
m_zoomerLeft->blockSignals(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -150,8 +152,10 @@ void RiuSummaryQwtPlot::setZoomWindow(const QwtInterval& leftAxis, const QwtInte
|
|||||||
zoomWindow.setTop(rightAxis.maxValue());
|
zoomWindow.setTop(rightAxis.maxValue());
|
||||||
zoomWindow.setBottom(rightAxis.minValue());
|
zoomWindow.setBottom(rightAxis.minValue());
|
||||||
|
|
||||||
|
// No need to block signal since there is no connected slot
|
||||||
m_zoomerRight->zoom(zoomWindow);
|
m_zoomerRight->zoom(zoomWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user