Halt Tx before resetting Tx power after Tune. Tnx to W9MDB.

This commit is contained in:
Joe Taylor 2018-09-26 15:27:24 -04:00
parent a6ac3eed61
commit 691476ed1c
1 changed files with 1 additions and 0 deletions

View File

@ -6225,6 +6225,7 @@ void MainWindow::on_tuneButton_clicked (bool checked)
}
else { // we're turning off so remember our Tune pwr setting and reset to Tx pwr
if (m_config.pwrBandTuneMemory() || m_config.pwrBandTxMemory()) {
stopTx();
m_pwrBandTuneMemory[curBand] = ui->outAttenuation->value(); // remember our Tune pwr
m_PwrBandSetOK = false;
ui->outAttenuation->setValue(m_pwrBandTxMemory[curBand].toInt()); // set to Tx pwr