From a5df33bab984f2fec8f9cc8e4005deb4fe3203ad Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sun, 1 Oct 2017 12:35:43 +0000 Subject: [PATCH] Correct an improper disabling of TxFreqSpinBox. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8148 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index a1de650ed..6a239473e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -5616,11 +5616,7 @@ void MainWindow::setXIT(int n, Frequency base) void MainWindow::setFreq4(int rxFreq, int txFreq) { - if (ui->RxFreqSpinBox->isEnabled ()) - { - ui->RxFreqSpinBox->setValue(rxFreq); - } - + if (ui->RxFreqSpinBox->isEnabled ()) ui->RxFreqSpinBox->setValue(rxFreq); if(m_mode.startsWith ("WSPR")) { ui->WSPRfreqSpinBox->setValue(txFreq); } else { @@ -6002,7 +5998,7 @@ void MainWindow::transmitDisplay (bool transmitting) ui->TxFreqSpinBox->setEnabled (true); //### } else { - ui->TxFreqSpinBox->setEnabled (QSY_allowed and !m_bFastMode and !ui->cbHoldTxFreq->isChecked()); + ui->TxFreqSpinBox->setEnabled (QSY_allowed and !m_bFastMode); ui->pbR2T->setEnabled (QSY_allowed); ui->cbHoldTxFreq->setEnabled (QSY_allowed); }