Fixed bug in Fix ( in start initialize)

This commit is contained in:
OH1KH 2022-12-12 20:25:01 +02:00
parent 23be28db32
commit 7147efd327
2 changed files with 2 additions and 3 deletions

View File

@ -766,6 +766,8 @@ begin
dmUtils.LoadBandsSettings;
frmTRXControl.cmbRig.ItemIndex:=cqrini.ReadInteger('TRX', 'RigInUse', 1);
frmTRXControl.cmbRigCloseUp(nil);
frmTRXControl.InitializeRig;
frmRotControl.InicializeRot;

View File

@ -1017,9 +1017,6 @@ procedure TfrmTRXControl.FormCreate(Sender : TObject);
begin
Radio := nil;
AutoMode := True;
//these are needed here otherwise rig init at startup, if TRXControl window stays closed, fails
cmbRig.ItemIndex:=cqrini.ReadInteger('TRX', 'RigInUse', 1);
cmbRigCloseUp(nil); //defaults rig 1 in case of undefined
end;
procedure TfrmTRXControl.FormDestroy(Sender : TObject);