fix, session saved too early

This commit is contained in:
Basile Burg 2018-01-16 12:01:41 +01:00
parent 60bbfad9f6
commit caa3618be7
1 changed files with 1 additions and 1 deletions

View File

@ -1917,7 +1917,6 @@ const
'- Project group modified:'#10' %s';
begin
canClose := false;
SaveLastDocsAndProj;
if checkProjectLock(false) and
(dlgOkCancel('A project is still being compiled, close anyway ?') <> mrOK) then
@ -2010,6 +2009,7 @@ begin
end;
end;
SaveLastDocsAndProj;
CanClose:= true;
fProjectGroup.closeGroup;
if assigned(fFreeProj) then