mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 14:39:13 +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;
|
DefaultFilename: String;
|
||||||
NewFilename: String;
|
NewFilename: String;
|
||||||
begin
|
begin
|
||||||
OpenDialog:=TOpenDialog.Create(Self);
|
if Sender=btnCompiler then
|
||||||
|
OpenDialog:=TOpenDialog.Create(Self)
|
||||||
|
else
|
||||||
|
OpenDialog:=TSelectDirectoryDialog.Create(Self);
|
||||||
try
|
try
|
||||||
if Sender=btnCompiler then begin
|
if Sender=btnCompiler then begin
|
||||||
OpenDialog.Title:=Format(lisBrowseForCompiler, [GetDefaultCompilerFilename
|
OpenDialog.Title:=Format(lisBrowseForCompiler, [GetDefaultCompilerFilename
|
||||||
|
Loading…
Reference in New Issue
Block a user