Disable TxFreqSpinBox, not RxFreqSpinBox if QSY during transmit is not allowed.

This commit is contained in:
Joe Taylor 2020-09-22 11:25:59 -04:00
parent 8c9acfc464
commit dd296311cc

View File

@ -7458,7 +7458,7 @@ void MainWindow::transmitDisplay (bool transmitting)
auto QSY_allowed = !transmitting or m_config.tx_QSY_allowed () or auto QSY_allowed = !transmitting or m_config.tx_QSY_allowed () or
!m_config.split_mode (); !m_config.split_mode ();
if (ui->cbHoldTxFreq->isChecked ()) { if (ui->cbHoldTxFreq->isChecked ()) {
ui->RxFreqSpinBox->setEnabled (QSY_allowed); ui->TxFreqSpinBox->setEnabled (QSY_allowed);
ui->pbT2R->setEnabled (QSY_allowed); ui->pbT2R->setEnabled (QSY_allowed);
} }