From 71f23c188b60421fa74fd58992300b4d2b2e0e1e Mon Sep 17 00:00:00 2001 From: James Yuzawa Date: Fri, 8 Nov 2024 18:35:48 -0500 Subject: [PATCH] redraw and support drag --- src/qtgui/plotter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qtgui/plotter.cpp b/src/qtgui/plotter.cpp index 388dc9c19..6960bc1a8 100644 --- a/src/qtgui/plotter.cpp +++ b/src/qtgui/plotter.cpp @@ -658,6 +658,10 @@ void CPlotter::mousePressEvent(QMouseEvent * event) m_MinHoldValid = false; m_histIIRValid = false; } + emit newDemodFreq(m_DemodCenterFreq, m_DemodCenterFreq - m_CenterFreq); + m_CursorCaptured = CENTER; + m_GrabPosition = 1; + updateOverlay(); } else {