IDE: when closing a modified package and user does not save mods, clear modified, bug #22956

git-svn-id: trunk@42946 -
This commit is contained in:
mattias 2013-09-26 14:16:31 +00:00
parent 446747ed6c
commit 7a4a60f132

View File

@ -924,6 +924,7 @@ begin
LazPackage.UserIgnoreChangeStamp:=LazPackage.ChangeStamp;
end;
if MsgResult=mrAbort then CanClose:=false;
LazPackage.Modified:=false; // clear modified flag, so that it will be closed
end;
//debugln(['TPackageEditorForm.PackageEditorFormCloseQuery CanClose=',CanClose,' ',Caption]);
if CanClose then