diff --git a/src/u_libman.pas b/src/u_libman.pas index 1d344c99..14b5463e 100644 --- a/src/u_libman.pas +++ b/src/u_libman.pas @@ -252,6 +252,8 @@ begin if hasValidLibProject then begin prj := loadProject(fLibProject, true); + if not assigned(prj) then + exit; str := TStringList.Create; try cnt := prj.sourcesCount-1;