fix, project not added to mru on close

This commit is contained in:
Basile Burg 2015-03-12 12:49:33 +01:00
parent 88577f9a76
commit 11326abf36
1 changed files with 1 additions and 2 deletions

View File

@ -667,7 +667,6 @@ begin
fWidgList.Free; fWidgList.Free;
fProjMru.Free; fProjMru.Free;
fFileMru.Free; fFileMru.Free;
fProject.Free;
FreeRunnableProc; FreeRunnableProc;
// //
fMainMenuSubj.Free; fMainMenuSubj.Free;
@ -702,7 +701,7 @@ begin
for i := fMultidoc.documentCount-1 downto 0 do for i := fMultidoc.documentCount-1 downto 0 do
if not fMultidoc.closeDocument(i) then exit; if not fMultidoc.closeDocument(i) then exit;
canClose := true; canClose := true;
closeProj;
// saving doesnt work when csDestroying in comp.state (in Free) // saving doesnt work when csDestroying in comp.state (in Free)
SaveDocking; SaveDocking;
end; end;