Skip to content

Commit

Permalink
After correcting a copied callsign, TU is now sent (#179)
Browse files Browse the repository at this point in the history
Previously, after correcting a copied callsign, MR would send the
corrected callsign along with the full exchange. Now MR will send the
corrected callsign followed by 'TU'. This fixes #177.

This bug was inserted while building ARRL FD and has been mostly backed
out.
  • Loading branch information
w7sst authored Feb 10, 2023
2 parents 33dbe3f + 4efe1aa commit f305bb4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1428,17 +1428,15 @@ procedure TMainForm.Readme1Click(Sender: TObject);

{
called whenever callsign field (Edit1) changes. Any callsign edit will
invalidate the callsign and NR (Exchange) field(s) already sent, so clear
the CallSent and NrSent values.
invalidate the callsign already sent by clearing the CallSent value.
If the Callsign is empty, also crear the NrSent value.
}
procedure TMainForm.Edit1Change(Sender: TObject);
begin
if Edit1.Text = '' then
NrSent := false;
if not Tst.Me.UpdateCallInMessage(Edit1.Text) then begin
if not Tst.Me.UpdateCallInMessage(Edit1.Text) then
CallSent := false;
NrSent := false;
end;
end;


Expand Down

0 comments on commit f305bb4

Please sign in to comment.