From ffc43bd353cb46f61c32676c85bad0b1c5b0ee81 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 1 Dec 2015 23:24:57 +0000 Subject: [PATCH] Abort WSPR band hopping when a rig control failure occurs This avoids spots being sent with incorrect frequencies. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6214 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 4dee62381..d2ab55ab7 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4123,6 +4123,10 @@ void MainWindow::handle_transceiver_failure (QString reason) ui->readFreq->setEnabled (true); on_stopTxButton_clicked (); rigFailure ("Rig Control Error", reason); + + // disable WSPR band hopping so that spots are not sent on the wrong + // band + ui->band_hopping_group_box->setChecked (false); } void MainWindow::rigFailure (QString const& reason, QString const& detail)