fix, gdv commander, possibly two items checked after "Select custom exe" + cancel in the dialog

This commit is contained in:
Basile Burg 2020-08-22 04:46:42 +02:00
parent 08dbbc5196
commit 425a7090af
1 changed files with 2 additions and 2 deletions

View File

@ -1862,14 +1862,14 @@ end;
procedure TGdbWidget.mnuSelCustomClick(Sender: TObject);
begin
mnuSelProj.Checked:=false;
mnuSelRunnable.Checked:=false;
with TOpenDialog.Create(nil) do
try
if execute then
begin
fCustomTargetFile := FileName;
fDebugTargetKind := dtkCustom;
mnuSelProj.Checked:=false;
mnuSelRunnable.Checked:=false;
updateDebugeeOptionsEditor;
end;
finally