Make the WSPR-mode Tx Freq spinner track the red Tx Freq marker on Waterfall.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5537 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2015-06-05 13:42:45 +00:00
parent 45602675a7
commit fa720014c9

View File

@ -1090,10 +1090,13 @@ void MainWindow::bumpFqso(int n) //bumpFqso()
{
ui->RxFreqSpinBox->setValue (i);
}
if(ctrl && ui->TxFreqSpinBox->isEnabled ())
{
if(ctrl and m_mode.mid(0,4)=="WSPR") {
ui->WSPRfreqSpinBox->setValue(i);
} else {
if(ctrl && ui->TxFreqSpinBox->isEnabled ()) {
ui->TxFreqSpinBox->setValue (i);
}
}
}
void MainWindow::qsy (Frequency f)
@ -3621,10 +3624,13 @@ void MainWindow::setFreq4(int rxFreq, int txFreq)
ui->RxFreqSpinBox->setValue(rxFreq);
}
if (ui->TxFreqSpinBox->isEnabled ())
{
if(m_mode.mid(0,4)=="WSPR") {
ui->WSPRfreqSpinBox->setValue(txFreq);
} else {
if (ui->TxFreqSpinBox->isEnabled ()) {
ui->TxFreqSpinBox->setValue(txFreq);
}
}
}
void MainWindow::on_cbTxLock_clicked(bool checked)