mirror of https://gitlab.com/basile.b/dexed.git
fix, reload last stuff, does not handle temp/unsaved modules
This commit is contained in:
parent
2a9fb832bc
commit
26196d8a23
|
|
@ -516,7 +516,8 @@ begin
|
||||||
begin
|
begin
|
||||||
str := mdh.document[i].fileName;
|
str := mdh.document[i].fileName;
|
||||||
if str <> mdh.document[i].tempFilename then
|
if str <> mdh.document[i].tempFilename then
|
||||||
fDocuments.Add(str);
|
if FileExists(str) then
|
||||||
|
fDocuments.Add(str);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
@ -528,7 +529,8 @@ begin
|
||||||
mdh := getMultiDocHandler;
|
mdh := getMultiDocHandler;
|
||||||
if mdh = nil then exit;
|
if mdh = nil then exit;
|
||||||
for str in fDocuments do
|
for str in fDocuments do
|
||||||
mdh.openDocument(str);
|
if FileExists(str) then
|
||||||
|
mdh.openDocument(str);
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue