mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-03 13:47:51 -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)
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user