mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Use call, mode, and frequency from Log QSO for worked before records
The current frequency, mode and, call were incorrectly being used to create a new worked before record from a logged QSO. This meant that band changes etc. made before clicking "Ok" to log a QSO would be erroneously attributed to the worked before records.
This commit is contained in:
parent
a3efe8117c
commit
58c901240b
@ -5545,7 +5545,7 @@ void MainWindow::acceptQSO (QDateTime const& QSO_date_off, QString const& call,
|
|||||||
, QByteArray const& ADIF)
|
, QByteArray const& ADIF)
|
||||||
{
|
{
|
||||||
QString date = QSO_date_on.toString("yyyyMMdd");
|
QString date = QSO_date_on.toString("yyyyMMdd");
|
||||||
if (!m_logBook.add (m_hisCall, grid, m_config.bands()->find(m_freqNominal), m_modeTx, ADIF))
|
if (!m_logBook.add (call, grid, m_config.bands()->find(dial_freq), mode, ADIF))
|
||||||
{
|
{
|
||||||
MessageBox::warning_message (this, tr ("Log file error"),
|
MessageBox::warning_message (this, tr ("Log file error"),
|
||||||
tr ("Cannot open \"%1\"").arg (m_logBook.path ()));
|
tr ("Cannot open \"%1\"").arg (m_logBook.path ()));
|
||||||
|
Loading…
Reference in New Issue
Block a user