mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:19:47 +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)]);
|
||||
{$ENDIF}
|
||||
if ExportFilename<>'' then
|
||||
begin
|
||||
p.SaveDialog.InitialDir := ExtractFilePath(ExportFileName);
|
||||
p.SaveDialog.FileName := ExportFilename;
|
||||
end;
|
||||
p.Show_Modal(Self);
|
||||
end;
|
||||
{$IFDEF DebugLR}
|
||||
|
Loading…
Reference in New Issue
Block a user