mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-20 18:33:30 -04:00
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:
parent
bf110bd5b6
commit
a5df33bab9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user