From a897f3ba419c8d0097d832472ecd85df7f18ec30 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 24 Dec 2015 19:42:36 +0000 Subject: [PATCH] Do not disable Tx or "Enable Tx" when changing band in WSPR mode The fixes a regression introduced in r6311 git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6312 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index f9bc98eab..cf5d00e4a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3920,8 +3920,10 @@ void MainWindow::on_bandComboBox_activated (int index) void MainWindow::band_changed (Frequency f) { if (m_bandEdited) { - ui->stopTxButton->click(); // halt any transmission - auto_tx_mode (false); // disable auto Tx + if (!m_mode.startsWith ("WSPR")) { + ui->stopTxButton->click (); // halt any transmission + auto_tx_mode (false); // disable auto Tx + } m_bandEdited = false; psk_Reporter->sendReport(); // Upload any queued spots before changing band if (!m_transmitting) monitor (true);