Fix the setting of TxFirst after click on ActiveStations window.

This commit is contained in:
Joe Taylor 2022-03-19 14:29:52 -04:00
parent bc92cd54f3
commit fd7caa8cd6

View File

@ -3491,7 +3491,7 @@ void MainWindow::callSandP2(int n)
genStdMsgs(w[3]); //### real SNR would be better here? genStdMsgs(w[3]); //### real SNR would be better here?
ui->RxFreqSpinBox->setValue(w[4].toInt()); ui->RxFreqSpinBox->setValue(w[4].toInt());
setTxMsg(1); setTxMsg(1);
m_txFirst = (w[2]=="0"); m_txFirst = (w[5]=="0");
ui->txFirstCheckBox->setChecked(m_txFirst); ui->txFirstCheckBox->setChecked(m_txFirst);
if (!ui->autoButton->isChecked()) ui->autoButton->click(); // Enable Tx if (!ui->autoButton->isChecked()) ui->autoButton->click(); // Enable Tx
if(m_transmitting) m_restart=true; if(m_transmitting) m_restart=true;