From efe8f090c27606d5ee9191056d6e407cdb825c2f Mon Sep 17 00:00:00 2001
From: Joe Taylor <joe@princeton.edu>
Date: Sun, 31 Dec 2023 09:05:31 -0500
Subject: [PATCH] Correct the bug in CallSandP2() that sets Rx freq incorrectly
 from ActiveStations window.

---
 widgets/mainwindow.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index ebda1daa2..352299483 100644
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -3927,8 +3927,8 @@ void MainWindow::callSandP2(int n)
   } else {
     m_deCall=w[0];
     m_deGrid=w[1];
-    ui->RxFreqSpinBox->setValue(w[5].toInt());
-    m_txFirst = (w[6]=="0");
+    ui->RxFreqSpinBox->setValue(w[4].toInt());
+    m_txFirst = (w[5]=="0");
   }
 
   if(w[3].left(2)=="30") {