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
This commit is contained in:
Bill Somerville 2015-12-01 23:24:57 +00:00
parent 540fbc87ea
commit ffc43bd353
1 changed files with 4 additions and 0 deletions

View File

@ -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)