mirror of https://github.com/saitohirga/WSJT-X.git
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
This commit is contained in:
parent
b98b4ae299
commit
3c869e4c53
|
@ -3920,12 +3920,15 @@ void MainWindow::on_bandComboBox_activated (int index)
|
||||||
void MainWindow::band_changed (Frequency f)
|
void MainWindow::band_changed (Frequency f)
|
||||||
{
|
{
|
||||||
if (m_bandEdited) {
|
if (m_bandEdited) {
|
||||||
|
ui->stopTxButton->click(); // halt any transmission
|
||||||
|
auto_tx_mode (false); // disable auto Tx
|
||||||
m_bandEdited = false;
|
m_bandEdited = false;
|
||||||
psk_Reporter->sendReport(); // Upload any queued spots before changing band
|
psk_Reporter->sendReport(); // Upload any queued spots before changing band
|
||||||
if (!m_transmitting) monitor (true);
|
if (!m_transmitting) monitor (true);
|
||||||
Q_EMIT m_config.transceiver_frequency (f);
|
Q_EMIT m_config.transceiver_frequency (f);
|
||||||
qsy (f);
|
qsy (f);
|
||||||
setXIT (ui->TxFreqSpinBox->value ());
|
setXIT (ui->TxFreqSpinBox->value ());
|
||||||
|
m_repeatMsg = 0; // reset Tx watchdog
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue