From 6f36f7eea22dbf49a8b4a1a5e02f0ec7ace5e5f7 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Thu, 29 Sep 2022 14:22:10 +0200 Subject: [PATCH] Revert "Revert commit f5291f2 for WSPR mode only." This reverts commit f98ec44e9830bd72a9bf80a22a038e56e5e352f4. --- widgets/mainwindow.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index f1b5c65db..5ccdf9812 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -9763,11 +9763,7 @@ void MainWindow::write_all(QString txRx, QString message) auto time = QDateTime::currentDateTimeUtc (); if( txRx=="Rx" && !m_bFastMode ) time=m_dateTimeSeqStart; - if ("WSPR" != m_mode) { - t = t.asprintf("%10.3f ",m_freqNominalPeriod/1.e6); // prevent writing of wrong frequencies - } else { - t = t.asprintf("%10.3f ",m_freqNominal/1.e6); - } + t = t.asprintf("%10.3f ",m_freqNominalPeriod/1.e6); // prevent writing of wrong frequencies if (m_diskData) { if (m_fileDateTime.size()==11) { line=m_fileDateTime + " " + t + txRx + " " + mode_string + msg;