From 3c869e4c53d2d5ccf038ec7fe8e3253ffc055e54 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 24 Dec 2015 13:33:29 +0000 Subject: [PATCH] Reset Tx watchdog when changing bands Also disable "Enable Tx" when changing bands. Thanks to Mike W9MDB for contributions to this patch. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6311 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 3cc0b4dc9..f9bc98eab 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3920,12 +3920,15 @@ 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 m_bandEdited = false; psk_Reporter->sendReport(); // Upload any queued spots before changing band if (!m_transmitting) monitor (true); Q_EMIT m_config.transceiver_frequency (f); qsy (f); setXIT (ui->TxFreqSpinBox->value ()); + m_repeatMsg = 0; // reset Tx watchdog } }