replaced TOpenDialog with TSelectDirectoryDialog for compiler opts unit output path

git-svn-id: trunk@6919 -
This commit is contained in:
mattias 2005-03-07 23:44:11 +00:00
parent 27d716057f
commit a586609a0a

View File

@ -534,7 +534,10 @@ var
DefaultFilename: String;
NewFilename: String;
begin
OpenDialog:=TOpenDialog.Create(Self);
if Sender=btnCompiler then
OpenDialog:=TOpenDialog.Create(Self)
else
OpenDialog:=TSelectDirectoryDialog.Create(Self);
try
if Sender=btnCompiler then begin
OpenDialog.Title:=Format(lisBrowseForCompiler, [GetDefaultCompilerFilename