From 6771d25cb7311f7924047e85a13fa947846731cf Mon Sep 17 00:00:00 2001 From: Steven Franke Date: Sat, 16 May 2020 09:30:25 -0500 Subject: [PATCH] Restore WSPR Tx Power to the correct value. --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index eb74103cf..29ab24a54 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -935,7 +935,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_saveDecoded=ui->actionSave_decoded->isChecked(); m_saveAll=ui->actionSave_all->isChecked(); ui->sbTxPercent->setValue(m_pctx); - ui->TxPowerComboBox->setCurrentIndex(int(0.3*(m_dBm + 30.0)+0.2)); + ui->TxPowerComboBox->setCurrentIndex(int(0.3*m_dBm+0.2)); ui->cbUploadWSPR_Spots->setChecked(m_uploadSpots); if((m_ndepth&7)==1) ui->actionQuickDecode->setChecked(true); if((m_ndepth&7)==2) ui->actionMediumDecode->setChecked(true);