fix, reload last stuff, does not handle temp/unsaved modules

This commit is contained in:
Basile Burg 2015-09-15 18:41:51 +02:00
parent 2a9fb832bc
commit 26196d8a23
1 changed files with 4 additions and 2 deletions

View File

@ -516,7 +516,8 @@ begin
begin
str := mdh.document[i].fileName;
if str <> mdh.document[i].tempFilename then
fDocuments.Add(str);
if FileExists(str) then
fDocuments.Add(str);
end;
end;
@ -528,7 +529,8 @@ begin
mdh := getMultiDocHandler;
if mdh = nil then exit;
for str in fDocuments do
mdh.openDocument(str);
if FileExists(str) then
mdh.openDocument(str);
end;
{$ENDREGION}