From e1bf1d6a75085f9096d5758a070cc7d4b59e2faa Mon Sep 17 00:00:00 2001 From: Sergey Larin Date: Tue, 22 Dec 2020 18:32:24 +0300 Subject: [PATCH] Fixed checking CurrentDebuggerPropertiesConfig for nil. Related to 4f145f9709e71f3e77521683eda07494f6924a01 (cherry picked from commit 9d94d1fa28ee6e730e021c9739a737475114ca25) --- ide/initialsetupdlgs.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/initialsetupdlgs.pas b/ide/initialsetupdlgs.pas index d2d8418e7f..2a5a6df6ce 100644 --- a/ide/initialsetupdlgs.pas +++ b/ide/initialsetupdlgs.pas @@ -796,7 +796,7 @@ begin s:=MakeExeComboBox.Text; if s<>'' then EnvironmentOptions.MakeFilename:=s; - if not (FSkipDebugger and (EnvironmentOptions.CurrentDebuggerPropertiesConfig <> nil)) + if not FSkipDebugger and (EnvironmentOptions.CurrentDebuggerPropertiesConfig <> nil) then begin s:=DebuggerComboBox.Text; if s<>'' then begin