# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2017-04-01 10:07:36 # Node ID 6a233b0c073b8f49a7cb9f1211ebd55642e05aca # Parent 8ab6e827bf3e85cf0c404796ee1294c3f6d95cee fix y axis scrollbar glitch at startup diff --git a/src/plot.cpp b/src/plot.cpp --- a/src/plot.cpp +++ b/src/plot.cpp @@ -125,6 +125,8 @@ void Plot::resetAxes() setAxisScale(QwtPlot::yLeft, yMin, yMax); } + zoomer.setZoomBase(); + replot(); }