mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 14:39:09 +02:00
IDE: package options: fixed using DirPathExists to check directories, bug #14405
git-svn-id: trunk@21390 -
This commit is contained in:
parent
51d7653f6a
commit
6f2fbc674a
@ -224,7 +224,7 @@ begin
|
||||
if CurDir<>'' then begin
|
||||
IDEMacros.SubstituteMacros(CurDir);
|
||||
LazPackage.LongenFilename(CurDir);
|
||||
if not FileExistsUTF8(CurDir) then begin
|
||||
if not DirPathExists(CurDir) then begin
|
||||
DlgResult:=QuestionDlg('Directory not found',
|
||||
'Directory "'+CurDir+'" not found.',
|
||||
mtError,[mrIgnore,mrYes,'Remove from search path',mrCancel],0);
|
||||
|
Loading…
Reference in New Issue
Block a user