Make sure Rx frequency is really set to 750 +- 50 Hz when switching to SuperHound mode.

This commit is contained in:
Uwe Risse 2024-09-20 10:43:18 +02:00
parent 10aead3962
commit 2458468411

View File

@ -7434,13 +7434,6 @@ void MainWindow::on_actionFT8_triggered()
QTimer::singleShot (50, [=] {
if(m_specOp!=SpecOp::FOX) ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt());
if(m_specOp==SpecOp::FOX && !m_config.superFox()) ui->TxFreqSpinBox->setValue(m_TxFreqFox);
if(SpecOp::HOUND == m_specOp && m_config.superFox()) clearDX();
if(SpecOp::HOUND == m_specOp && m_config.superFox() &&
(ui->RxFreqSpinBox->value() < 700 or ui->RxFreqSpinBox->value() > 800)) {
ui->RxFreqSpinBox->setValue(750);
} else {
ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt());
}
on_sbSubmode_valueChanged(ui->sbSubmode->value());
});
m_mode="FT8";
@ -7526,12 +7519,16 @@ void MainWindow::on_actionFT8_triggered()
m_wideGraph->setRxFreq(ui->RxFreqSpinBox->value());
m_wideGraph->setTol(ui->sbFtol->value());
m_wideGraph->setSuperHound(true);
clearDX();
if(ui->RxFreqSpinBox->value() < 700 or ui->RxFreqSpinBox->value() > 800)
ui->RxFreqSpinBox->setValue(750);
} else {
// 01234567890123456789012345678901234567
displayWidgets(nWidgets("11101000010011000001000000000011000000"));
ui->labDXped->setText(tr ("Hound"));
ui->cbRxAll->setEnabled(true);
m_wideGraph->setSuperHound(false);
ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt());
}
ui->txrb1->setChecked(true);
ui->txrb2->setEnabled(false);