Ignore:
Timestamp:
Apr 10, 2022, 1:39:35 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Show number of removed duplicates.
  • Fixed: Set document as modified only if data are really changed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormContacts.pas

    r129 r133  
    471471      FormContact.OnGetNext := GetNextContact;
    472472      if FormContact.ShowModal = mrOK then begin
     473        if not TContact(ListView1.Selected.Data).CompareTo(Contact) then
     474          Core.DataFile.Modified := True;
    473475        TContact(ListView1.Selected.Data).Assign(Contact);
    474         Core.DataFile.Modified := True;
    475476        ReloadList;
    476477        UpdateInterface;
Note: See TracChangeset for help on using the changeset viewer.