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;