mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 11:19:15 +02:00
replaced TOpenDialog with TSelectDirectoryDialog for compiler opts unit output path
git-svn-id: trunk@6919 -
This commit is contained in:
parent
27d716057f
commit
a586609a0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user