mirror of https://gitlab.com/basile.b/dexed.git
fix, gdv commander, possibly two items checked after "Select custom exe" + cancel in the dialog
This commit is contained in:
parent
08dbbc5196
commit
425a7090af
|
@ -1862,14 +1862,14 @@ end;
|
||||||
|
|
||||||
procedure TGdbWidget.mnuSelCustomClick(Sender: TObject);
|
procedure TGdbWidget.mnuSelCustomClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
|
mnuSelProj.Checked:=false;
|
||||||
|
mnuSelRunnable.Checked:=false;
|
||||||
with TOpenDialog.Create(nil) do
|
with TOpenDialog.Create(nil) do
|
||||||
try
|
try
|
||||||
if execute then
|
if execute then
|
||||||
begin
|
begin
|
||||||
fCustomTargetFile := FileName;
|
fCustomTargetFile := FileName;
|
||||||
fDebugTargetKind := dtkCustom;
|
fDebugTargetKind := dtkCustom;
|
||||||
mnuSelProj.Checked:=false;
|
|
||||||
mnuSelRunnable.Checked:=false;
|
|
||||||
updateDebugeeOptionsEditor;
|
updateDebugeeOptionsEditor;
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
|
Loading…
Reference in New Issue