mirror of https://gitlab.com/basile.b/dexed.git
fix, session saved too early
This commit is contained in:
parent
60bbfad9f6
commit
caa3618be7
|
@ -1917,7 +1917,6 @@ const
|
||||||
'- Project group modified:'#10' %s';
|
'- Project group modified:'#10' %s';
|
||||||
begin
|
begin
|
||||||
canClose := false;
|
canClose := false;
|
||||||
SaveLastDocsAndProj;
|
|
||||||
|
|
||||||
if checkProjectLock(false) and
|
if checkProjectLock(false) and
|
||||||
(dlgOkCancel('A project is still being compiled, close anyway ?') <> mrOK) then
|
(dlgOkCancel('A project is still being compiled, close anyway ?') <> mrOK) then
|
||||||
|
@ -2010,6 +2009,7 @@ begin
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
SaveLastDocsAndProj;
|
||||||
CanClose:= true;
|
CanClose:= true;
|
||||||
fProjectGroup.closeGroup;
|
fProjectGroup.closeGroup;
|
||||||
if assigned(fFreeProj) then
|
if assigned(fFreeProj) then
|
||||||
|
|
Loading…
Reference in New Issue