Changeset 133 for trunk/UCore.pas
- Timestamp:
- Apr 10, 2022, 1:39:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r130 r133 127 127 SCombinedContacts = 'Combined %d contact files.'; 128 128 SLine = 'Line %d: %s'; 129 SRemovedDuplicates = 'Removed %d duplicates.'; 129 130 130 131 { TCore } … … 298 299 299 300 procedure TCore.ARemoveExactDuplicatesExecute(Sender: TObject); 300 begin 301 TVCardFile(DataFile).VCard.Contacts.RemoveExactDuplicates; 302 UpdateFile; 301 var 302 RemovedCount: Integer; 303 begin 304 RemovedCount := TVCardFile(DataFile).VCard.Contacts.RemoveExactDuplicates; 305 ShowMessage(Format(SRemovedDuplicates, [RemovedCount])); 306 if RemovedCount > 0 then begin 307 DataFile.Modified := True; 308 UpdateFile; 309 end; 303 310 end; 304 311
Note:
See TracChangeset
for help on using the changeset viewer.