diff --git a/src/u_gdb.pas b/src/u_gdb.pas index bb2b4de5..4f7cb9e6 100644 --- a/src/u_gdb.pas +++ b/src/u_gdb.pas @@ -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