#2368 summary plot. Fix right axis properties update issue

This commit is contained in:
Bjørn Erik Jensen 2018-01-29 12:46:10 +01:00
parent 4a4dab3f1c
commit ecfd1ad817

View File

@ -140,7 +140,9 @@ void RiuSummaryQwtPlot::setZoomWindow(const QwtInterval& leftAxis, const QwtInte
zoomWindow.setTop(leftAxis.maxValue());
zoomWindow.setBottom(leftAxis.minValue());
m_zoomerLeft->blockSignals(true);
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.setBottom(rightAxis.minValue());
// No need to block signal since there is no connected slot
m_zoomerRight->zoom(zoomWindow);
}
}
//--------------------------------------------------------------------------------------------------