From f45369af8d43825fae15b02e5d20755e1532be18 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 3 Mar 2023 13:18:33 -0500 Subject: [PATCH] For double-click on lower waterfall, adjust QMAP's mousedf for the FCal value. --- qmap/mainwindow.cpp | 2 +- qmap/plotter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qmap/mainwindow.cpp b/qmap/mainwindow.cpp index 3f623f940..4acf6f7c4 100644 --- a/qmap/mainwindow.cpp +++ b/qmap/mainwindow.cpp @@ -808,7 +808,7 @@ void MainWindow::decode() //decode() datcom_.nutc=100*ihr + imin; } - datcom_.mousedf=m_wide_graph_window->DF(); + datcom_.mousedf=m_wide_graph_window->DF() + m_fCal; datcom_.mousefqso=m_wide_graph_window->QSOfreq(); datcom_.fselected=datcom_.mousefqso + 0.001*datcom_.mousedf; datcom_.ndiskdat=0; diff --git a/qmap/plotter.cpp b/qmap/plotter.cpp index c43ffb768..7d6150363 100644 --- a/qmap/plotter.cpp +++ b/qmap/plotter.cpp @@ -627,7 +627,7 @@ void CPlotter::mouseDoubleClickEvent(QMouseEvent *event) //mouse2click if(y < h+30) { m_DF=0; setFQSO(x,false); - emit freezeDecode1(2); //### ??? + emit freezeDecode1(2); } else { float f = m_ZoomStartFreq + x*m_fSample/32768.0; m_DF=int(f);