fix, reload last proj, crash if last proj file didnt exist anymore

This commit is contained in:
Basile Burg 2015-11-10 15:58:58 +01:00
parent 7800c0d821
commit 0055054c59
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ begin
itf := TCEMainForm(aDestination).fProjectInterface; itf := TCEMainForm(aDestination).fProjectInterface;
if (itf <> nil) and (itf.filename = fProject) then if (itf <> nil) and (itf.filename = fProject) then
exit; exit;
if fProject <> '' then if fProject <> '' then if FileExists(fProject) then
TCEMainForm(aDestination).openProj(fProject); TCEMainForm(aDestination).openProj(fProject);
end else end else
inherited; inherited;