From caa3618be724a6779aacec27b81612e27a0f6397 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Tue, 16 Jan 2018 12:01:41 +0100 Subject: [PATCH] fix, session saved too early --- src/ce_main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ce_main.pas b/src/ce_main.pas index 68fa03ad..fc972368 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -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