mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-31 16:38:35 -04:00
Make sure Rx frequency is really set to 750 +- 50 Hz when switching to SuperHound mode.
This commit is contained in:
parent
10aead3962
commit
2458468411
@ -7434,13 +7434,6 @@ void MainWindow::on_actionFT8_triggered()
|
|||||||
QTimer::singleShot (50, [=] {
|
QTimer::singleShot (50, [=] {
|
||||||
if(m_specOp!=SpecOp::FOX) ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq_old",1500).toInt());
|
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(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());
|
on_sbSubmode_valueChanged(ui->sbSubmode->value());
|
||||||
});
|
});
|
||||||
m_mode="FT8";
|
m_mode="FT8";
|
||||||
@ -7526,12 +7519,16 @@ void MainWindow::on_actionFT8_triggered()
|
|||||||
m_wideGraph->setRxFreq(ui->RxFreqSpinBox->value());
|
m_wideGraph->setRxFreq(ui->RxFreqSpinBox->value());
|
||||||
m_wideGraph->setTol(ui->sbFtol->value());
|
m_wideGraph->setTol(ui->sbFtol->value());
|
||||||
m_wideGraph->setSuperHound(true);
|
m_wideGraph->setSuperHound(true);
|
||||||
|
clearDX();
|
||||||
|
if(ui->RxFreqSpinBox->value() < 700 or ui->RxFreqSpinBox->value() > 800)
|
||||||
|
ui->RxFreqSpinBox->setValue(750);
|
||||||
} else {
|
} else {
|
||||||
// 01234567890123456789012345678901234567
|
// 01234567890123456789012345678901234567
|
||||||
displayWidgets(nWidgets("11101000010011000001000000000011000000"));
|
displayWidgets(nWidgets("11101000010011000001000000000011000000"));
|
||||||
ui->labDXped->setText(tr ("Hound"));
|
ui->labDXped->setText(tr ("Hound"));
|
||||||
ui->cbRxAll->setEnabled(true);
|
ui->cbRxAll->setEnabled(true);
|
||||||
m_wideGraph->setSuperHound(false);
|
m_wideGraph->setSuperHound(false);
|
||||||
|
ui->RxFreqSpinBox->setValue(m_settings->value("RxFreq_old",1500).toInt());
|
||||||
}
|
}
|
||||||
ui->txrb1->setChecked(true);
|
ui->txrb1->setChecked(true);
|
||||||
ui->txrb2->setEnabled(false);
|
ui->txrb2->setEnabled(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user