IDE: File / Open: do not always resolve symlinks

git-svn-id: trunk@54068 -
This commit is contained in:
mattias 2017-02-02 11:18:53 +00:00
parent 99b5de9bd3
commit 0b272c3409

View File

@ -2929,7 +2929,11 @@ begin
try
InputHistories.ApplyFileDialogSettings(OpenDialog);
OpenDialog.Title:=lisOpenFile;
OpenDialog.Options:=OpenDialog.Options+[ofAllowMultiSelect];
OpenDialog.Options:=OpenDialog.Options+[
ofAllowMultiSelect,
ofNoDereferenceLinks // Note: do not always resolve symlinked files, some links are resolved later
];
// set InitialDir to
GetCurrentUnit(ASrcEdit,AnUnitInfo);