diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index c068cb6..961fa60 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -11845,7 +11845,7 @@ void QMyCustomPlot::vertScrollBarChanged(QString strUuid, int value, int low, in xAxis->setRange(-value, xAxis->range().size(), Qt::AlignRight); const QCPRange& rg = xAxis->range(); this->updateDepthY(rg.lower, rg.upper); - replot(); + replot(QCustomPlot::rpQueuedRefresh); } } else{ @@ -11854,7 +11854,7 @@ void QMyCustomPlot::vertScrollBarChanged(QString strUuid, int value, int low, in this->yAxis->setRange(-value, this->yAxis->range().size(), Qt::AlignRight); const QCPRange& rg = yAxis->range(); this->updateDepthY(rg.lower, rg.upper); - replot(); + replot(QCustomPlot::rpQueuedRefresh); } } }