fixed findinfiles dialog ofFileMustExist

git-svn-id: trunk@8313 -
This commit is contained in:
mattias 2005-12-14 12:50:40 +00:00
parent c17ae7dae6
commit a9b9040e45

View File

@ -202,7 +202,8 @@ begin
SelectDirectoryDialog := TSelectDirectoryDialog.Create(Self);
with SelectDirectoryDialog do
Options:= Options + [ofPathMustExist];
// the whole selected directory must exist (ofPathMustExist is not enough)
Options:= Options + [ofFileMustExist];
FileMaskLabel:=TLabel.Create(Self);
with FileMaskLabel do begin