mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 08:59:10 +02:00
LazReport, set initial directory of used define exported filename
git-svn-id: trunk@43471 -
This commit is contained in:
parent
a15b6e1e64
commit
056721e54c
@ -10051,7 +10051,10 @@ begin
|
|||||||
DebugLn('2 TfrPreviewForm.visible=%s',[BooLToStr(p.Visible)]);
|
DebugLn('2 TfrPreviewForm.visible=%s',[BooLToStr(p.Visible)]);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
if ExportFilename<>'' then
|
if ExportFilename<>'' then
|
||||||
|
begin
|
||||||
|
p.SaveDialog.InitialDir := ExtractFilePath(ExportFileName);
|
||||||
p.SaveDialog.FileName := ExportFilename;
|
p.SaveDialog.FileName := ExportFilename;
|
||||||
|
end;
|
||||||
p.Show_Modal(Self);
|
p.Show_Modal(Self);
|
||||||
end;
|
end;
|
||||||
{$IFDEF DebugLR}
|
{$IFDEF DebugLR}
|
||||||
|
Loading…
Reference in New Issue
Block a user