From 119a98f99a548a3d26be32daf6b94974f76c8347 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 19 Apr 2016 13:50:05 +0000 Subject: [PATCH] Disable WSPR band hopping on rig failure before showing error message git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 073fd930a..5f83b2118 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4428,14 +4428,14 @@ void MainWindow::handle_transceiver_update (Transceiver::TransceiverState const& void MainWindow::handle_transceiver_failure (QString const& reason) { + // disable WSPR band hopping so that spots are not sent on the wrong + // band + ui->band_hopping_group_box->setChecked (false); + update_dynamic_property (ui->readFreq, "state", "error"); 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)