diff --git a/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp b/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp index 231db7a..bf5ef68 100644 --- a/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp @@ -571,7 +571,8 @@ void TracePlot::traceDeleted(Trace *t) void TracePlot::triggerReplot() { auto now = QTime::currentTime(); - if (lastUpdate.msecsTo(now) >= MinUpdateInterval) { + if (lastUpdate.msecsTo(now) >= MinUpdateInterval // last update was a sufficiently long time ago + || lastUpdate.msecsTo(now) < 0) { // or the time rolled over at midnight lastUpdate = now; replot(); } else {