#5051 Do not auto zoom when adding/removing curves in plot

This commit is contained in:
Gaute Lindkvist
2019-11-27 14:03:20 +01:00
parent dedb437ce5
commit 1267ba64d4
4 changed files with 9 additions and 12 deletions

View File

@@ -316,6 +316,8 @@ void RiuSummaryQwtPlot::endZoomOperations()
//--------------------------------------------------------------------------------------------------
void RiuSummaryQwtPlot::onZoomedSlot()
{
plotDefinition()->setAutoScaleXEnabled( false );
plotDefinition()->setAutoScaleYEnabled( false );
plotDefinition()->updateZoomFromQwt();
}