reset proj fname if loading failed

This commit is contained in:
Basile Burg 2016-08-05 16:21:27 +02:00
parent 0d33b217ea
commit ea6c3bd2f8
1 changed files with 5 additions and 0 deletions

View File

@ -568,6 +568,11 @@ var
{$ENDIF}
//
begin
if not fHasLoaded then
begin
dlgOkError('"' + shortenPath(fFilename) + '"' + 'does not seem to be a valid CE project');
fFilename:= '';
end;
patchPlateformPaths(fSrcs);
fModified := false;
hasPatched := false;