From 7e77fb70bce3ffaffd8f9202ef018dde46175a33 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 28 Jun 2017 01:54:35 +0000 Subject: [PATCH] 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 --- mainwindow.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index d9ecf4391..12d34635f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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;