Ignore:
Timestamp:
Dec 13, 2021, 8:47:20 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: Properties with just BASE64 instead of ENCODING=BASE64 was not decoded using Base64 and so contact photos were not loaded correctly.
  • Added: Allow to save from file and load to file contact property values in All fields tab.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormContacts.pas

    r63 r72  
    473473begin
    474474  if FUpdateCount = 0 then DoUpdateInterface;
    475   ALoadFromFile.Enabled := Assigned(ListView1.Selected);
    476   ASaveToFile.Enabled := Assigned(ListView1.Selected);
    477   AModify.Enabled := Assigned(ListView1.Selected);
    478   AClone.Enabled := Assigned(ListView1.Selected);
    479   ARemove.Enabled := Assigned(ListView1.Selected);
     475  AAdd.Enabled := Assigned(Contacts);
     476  AModify.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected);
     477  AClone.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected);
     478  ARemove.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected);
    480479  ASelectAll.Enabled := ListView1.Items.Count > 0;
     480  ALoadFromFile.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected);
     481  ASaveToFile.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected);
    481482end;
    482483
Note: See TracChangeset for help on using the changeset viewer.