Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OH1KH committed Feb 3, 2022
1 parent 1a64ec9 commit fba4d50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fRotControl.pas
Expand Up @@ -103,6 +103,7 @@ procedure TfrmRotControl.gbAzimuthClick(Sender: TObject);
begin
edtAzimuth.Text:=lblAzimuth.Caption;
edtAzimuth.Font:=lblAzimuth.Font;
edtAzimuth.Color:=clYellow;
edtAzimuth.Visible:=true;
edtAzimuth.SetFocus;
edtAzimuth.SelStart := Length(edtAzimuth.Text);
Expand Down
2 changes: 2 additions & 0 deletions src/fTRXControl.pas
Expand Up @@ -765,6 +765,7 @@ procedure TfrmTRXControl.gbFreqClick(Sender: TObject);
begin
edtFreqInput.Text:=lblFreq.Caption;
edtFreqInput.Font:=lblFreq.Font;
edtFreqInput.Color:=clYellow;
edtFreqInput.Visible:=True;
edtFreqInput.SetFocus;
edtFreqInput.SelStart := Length(edtFreqInput.Text);
Expand Down Expand Up @@ -1118,6 +1119,7 @@ procedure TfrmTRXControl.edtFreqInputMouseWheel(Sender: TObject;
try
f:= StrToFloat(s);
f:=f+m;
if f<0 then f:=0;
edtFreqInput.Text:=FormatFloat(empty_freq+';;',f);
if Assigned(radio) then
radio.SetFreqKHz(f*1000);
Expand Down

0 comments on commit fba4d50

Please sign in to comment.