File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -539,6 +539,17 @@ void Wsjtx::insertContact(WsjtxLogADIF log)
539
539
540
540
adif.importNext (record);
541
541
542
+ // the values listed below have default values defined in ADIF.
543
+ // These are set to N. However, WSJTX and other apps do not send
544
+ // these fields, which means that all records would be set to N - do not send.
545
+ // It is unacceptable. So this piece of code deletes these defaults so that
546
+ // in NewContact these values are set from the values in the GUI.
547
+ // There is a risk that some clone will start sending these values as well.
548
+ // In this case, it will have to be handled differently. Currently it is OK
549
+ record.remove (record.indexOf (" qsl_sent" ));
550
+ record.remove (record.indexOf (" lotw_qsl_sent" ));
551
+ record.remove (record.indexOf (" eqsl_qsl_sent" ));
552
+
542
553
// The QSO record can be received in two formats from WSJTX (raw and ADIF).
543
554
// Therefore, it is necessary to save the first record and possibly update it
544
555
// with the second record and then emit the result.
You can’t perform that action at this time.
0 commit comments