From 94a6b8a2c69440cb744914afe8171b5c7b567d0c Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 12 Jul 2019 16:34:41 +0000 Subject: [PATCH] projectgroups: fixed AV when project is missing, issue #35840 from Ondrej git-svn-id: trunk@61579 - --- components/projectgroups/projectgroup.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/projectgroups/projectgroup.pp b/components/projectgroups/projectgroup.pp index 066fc30b20..a47625138f 100644 --- a/components/projectgroups/projectgroup.pp +++ b/components/projectgroups/projectgroup.pp @@ -1317,7 +1317,8 @@ begin else exit; end; - Target.LoadGroupSettings(XMLConfig,APath); + if Target<>nil then + Target.LoadGroupSettings(XMLConfig,APath); end; finally Modified:=false;