mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 11:49:13 +02:00
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:
parent
446747ed6c
commit
7a4a60f132
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user