Changeset 103 for trunk/UCore.pas
- Timestamp:
- Feb 9, 2022, 3:51:26 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r101 r103 82 82 LastContactTabIndex: Integer; 83 83 LastContactFileName: string; 84 LastPhotoFileName: string; 84 85 LastPropertyValueFileName: string; 85 86 MapUrl: string; … … 237 238 try 238 239 Contacts := TContactsFile(DataFile).Contacts; 239 ShowModal; 240 FormContacts.ReloadList; 241 FormContacts.UpdateInterface; 242 DataFile.Modified := True; 243 FormMain.UpdateInterface; 240 if ShowModal = mrOk then begin 241 FormContacts.ReloadList; 242 FormContacts.UpdateInterface; 243 DataFile.Modified := True; 244 FormMain.UpdateInterface; 245 end; 244 246 finally 245 247 Free; … … 469 471 DefaultVcardVersion := ReadStringWithDefault('DefaultVcardVersion', '2.1'); 470 472 MapUrl := ReadStringWithDefault('MapUrl', 'https://www.openstreetmap.org/search?query='); 473 LastPhotoFileName := ReadStringWithDefault('LastPhotoFileName', ''); 471 474 finally 472 475 Free; … … 497 500 WriteString('DefaultVcardVersion', DefaultVcardVersion); 498 501 WriteString('MapUrl', MapUrl); 502 WriteString('LastPhotoFileName', LastPhotoFileName); 499 503 finally 500 504 Free;
Note:
See TracChangeset
for help on using the changeset viewer.