From 8c44a8de2dfc836cf2f77a82001a9ee332260523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Sat, 3 Feb 2024 18:57:25 +0100 Subject: [PATCH] replot trace plot when moving marker --- Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp b/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp index 70e3d6f..f657af8 100644 --- a/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Traces/traceplot.cpp @@ -466,6 +466,7 @@ void TracePlot::mouseMoveEvent(QMouseEvent *event) auto trace = selectedMarker->getTrace(); selectedMarker->setPosition(nearestTracePoint(trace, clickPoint)); cursorLabel->hide(); + triggerReplot(); } else if(movingGraph) { move(clickPoint - lastMousePoint); lastMousePoint = clickPoint;