From 1ce7355e58aa78df2f6d511647004825c02f60ed Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Mon, 27 Apr 2026 16:24:32 +0800 Subject: [PATCH] replot --- logPlus/qmycustomplot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } }