Removed clearing of persistence on deleted records: parent cell may not be updated, and saving would fail

This commit is contained in:
Eddoursul 2022-10-11 13:33:03 +02:00
parent 9f0e381f33
commit dfde75ef4e

View File

@ -242,13 +242,7 @@ begin
Inc(refsChecked);
if GetIsDeleted(e) then begin
if GetIsPersistent(e) then begin
AddMessage(' ! Removing persistence flag from deleted record: ' + ShortName(e));
SetIsPersistent(e, False);
end;
exit;
end;
if GetIsDeleted(e) then exit;
baseRefRecord := BaseRecord(e);