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
This commit is contained in:
Bill Somerville 2015-12-24 19:42:36 +00:00
parent 3c869e4c53
commit 459f74ac60

View File

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