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
This commit is contained in:
Joe Taylor 2017-10-01 12:35:43 +00:00
parent bf110bd5b6
commit a5df33bab9

View File

@ -5616,11 +5616,7 @@ void MainWindow::setXIT(int n, Frequency base)
void MainWindow::setFreq4(int rxFreq, int txFreq) void MainWindow::setFreq4(int rxFreq, int txFreq)
{ {
if (ui->RxFreqSpinBox->isEnabled ()) if (ui->RxFreqSpinBox->isEnabled ()) ui->RxFreqSpinBox->setValue(rxFreq);
{
ui->RxFreqSpinBox->setValue(rxFreq);
}
if(m_mode.startsWith ("WSPR")) { if(m_mode.startsWith ("WSPR")) {
ui->WSPRfreqSpinBox->setValue(txFreq); ui->WSPRfreqSpinBox->setValue(txFreq);
} else { } else {
@ -6002,7 +5998,7 @@ void MainWindow::transmitDisplay (bool transmitting)
ui->TxFreqSpinBox->setEnabled (true); ui->TxFreqSpinBox->setEnabled (true);
//### //###
} else { } 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->pbR2T->setEnabled (QSY_allowed);
ui->cbHoldTxFreq->setEnabled (QSY_allowed); ui->cbHoldTxFreq->setEnabled (QSY_allowed);
} }