Changeset 52 for trunk/UCore.pas


Ignore:
Timestamp:
Dec 3, 2021, 8:50:43 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Wrong object reference to contact Parent after Merge files action.
  • Modified: Optimized select all action.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r49 r52  
    374374        if not Assigned(NewContact) then begin
    375375          NewContact := TContact.Create;
     376          NewContact.Assign(TempFile.Contacts[I]);
    376377          NewContact.Parent := TContactsFile(DataFile);
    377           NewContact.Assign(TempFile.Contacts[I]);
    378378          TContactsFile(DataFile).Contacts.Add(NewContact);
    379379          Inc(Result.New);
Note: See TracChangeset for help on using the changeset viewer.