mirror of https://gitlab.com/basile.b/dexed.git
fix possible av when project doesn't load
json to sdl conversion failure can cause this
This commit is contained in:
parent
e4dc6bf981
commit
adb1449863
|
@ -252,6 +252,8 @@ begin
|
||||||
if hasValidLibProject then
|
if hasValidLibProject then
|
||||||
begin
|
begin
|
||||||
prj := loadProject(fLibProject, true);
|
prj := loadProject(fLibProject, true);
|
||||||
|
if not assigned(prj) then
|
||||||
|
exit;
|
||||||
str := TStringList.Create;
|
str := TStringList.Create;
|
||||||
try
|
try
|
||||||
cnt := prj.sourcesCount-1;
|
cnt := prj.sourcesCount-1;
|
||||||
|
|
Loading…
Reference in New Issue