Log the contact when Ctrl+Z opens the QTC window, ESM or not

Ctrl+Z logged the contact by calling the Enter handler. With ESM switched
on, Enter sends the next message of the contact instead of logging it, so
the QTC window opened over an unlogged contact and the traffic went into the
log in front of the contact it belongs to.

It now calls LogContact, which is what N1MM calls at the same point. A
station already worked is logged again as a dupe, worth no points, which is
what the WAE rules expect: the second contact does not count but the traffic
does.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0157i7PiZyqBkquxS9A6FTdQ
This commit is contained in:
2026-09-10 19:30:54 +00:00
co-authored by Claude Opus 5
parent 9b3e10d127
commit c686a86dcc
+5 -1
View File
@@ -1131,9 +1131,13 @@ public sealed partial class EntryWindow : Window
Status("QTC traffic is a WAE thing");
return;
}
// logging it here rather than through Enter: with ESM on, Enter sends
// the next message of the contact instead of logging it, and Ctrl+Z
// means log it and open the window. N1MM calls `LogContact` at the
// same point
if (Logging.Entry.Call.Trim().Length > 0 && Logging.Entry.IsComplete)
{
OnEnter();
LogContact();
}
string typed = Logging.Entry.Call.Trim();
Callsign station = Callsign.Parse(