LazReport, set initial directory of used define exported filename

git-svn-id: trunk@43471 -
This commit is contained in:
jesus 2013-11-22 01:25:41 +00:00
parent a15b6e1e64
commit 056721e54c

View File

@ -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}