mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 02:19:57 +02:00
IDE: Don't ask questions about symlinks when project is loading.
git-svn-id: trunk@55997 -
This commit is contained in:
parent
28389af5d2
commit
0102785359
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user