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
This commit is contained in:
Bill Somerville 2016-04-19 13:50:05 +00:00
parent c849652940
commit 119a98f99a

View File

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