fix: MY_NAME adif field was not filled
This commit is contained in:
@@ -2090,6 +2090,11 @@ func (a *App) applyStationDefaults(q *qso.QSO, includeIdentity bool) {
|
|||||||
if q.MyPOTARef == "" {
|
if q.MyPOTARef == "" {
|
||||||
q.MyPOTARef = p.MyPOTARef
|
q.MyPOTARef = p.MyPOTARef
|
||||||
}
|
}
|
||||||
|
// MY_NAME = the operator's personal name (profile OpName, e.g. "Greg") — stamped
|
||||||
|
// like the other My* fields so every QSO carries it, not just those edited by hand.
|
||||||
|
if q.MyName == "" {
|
||||||
|
q.MyName = p.OpName
|
||||||
|
}
|
||||||
// Per-band rig/antenna from Operating conditions (the antenna ticked as
|
// Per-band rig/antenna from Operating conditions (the antenna ticked as
|
||||||
// DEFAULT for this band) — the same auto-fill the entry strip does, applied
|
// DEFAULT for this band) — the same auto-fill the entry strip does, applied
|
||||||
// here so imported QSOs get MY_RIG / MY_ANTENNA from the band defaults.
|
// here so imported QSOs get MY_RIG / MY_ANTENNA from the band defaults.
|
||||||
|
|||||||
Reference in New Issue
Block a user