IDE: Don't ask questions about symlinks when project is loading.

git-svn-id: trunk@55997 -
This commit is contained in:
juha 2017-10-07 23:45:56 +00:00
parent 28389af5d2
commit 0102785359

View File

@ -1201,7 +1201,7 @@ var
SPath, Target: String; // Search path and target file for the symlink.
begin
Result := mrOK;
if not MainIDE.IDEStarted then Exit; // Use the given name at initial load.
if ofProjectLoading in FFlags then Exit; // Use the given name when project loads.
Target := GetPhysicalFilenameCached(FFileName,false);
if Target = FFilename then Exit; // Not a symlink, continue with FFilename.
// ToDo: Check if there is an editor with a symlink for this "physical" file.