LazReport, Remember the last saved file directory if possible, issue #28770

git-svn-id: trunk@52708 -
This commit is contained in:
jesus 2016-07-17 22:23:33 +00:00
parent 0653cf52ef
commit c66e4799fa

View File

@ -3404,7 +3404,8 @@ begin
sTemplFile + ' (*.frt)|*.frt|' +
sLazFormFile + ' (*.lrf)|*.lrf|' +
sLazTemplateFile + ' (*.lrt)|*.lrt';
InitialDir:=ExtractFilePath(ParamStrUTF8(0));
if InitialDir='' then
InitialDir:=ExtractFilePath(ParamStrUTF8(0));
FileName := CurDocName;
FilterIndex := 3;
if Execute then