Remove code that attempts to maintain on-air frequency for small QSYs

This feature is of limited  benefit and causes unexpected behaviour on
rigs with lower than 1Hz resolution. Removed for simplicity.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7743 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2017-06-28 01:54:35 +00:00
parent 80ad721524
commit 7e77fb70bc
1 changed files with 0 additions and 9 deletions

View File

@ -4936,15 +4936,6 @@ void MainWindow::band_changed (Frequency f)
ui->stopTxButton->click (); // halt any transmission
auto_tx_mode (false); // disable auto Tx
}
else {
// adjust DF's
int shift = f - m_freqNominal;
ui->RxFreqSpinBox->setValue (ui->RxFreqSpinBox->value () - shift);
if (!m_config.enable_VHF_features ()) // for VHF & up, don't change the Tx DF
{
ui->TxFreqSpinBox->setValue (ui->TxFreqSpinBox->value () - shift);
}
}
}
m_lastBand.clear ();
m_bandEdited = false;