Ignore:
Timestamp:
Dec 2, 2021, 12:18:18 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Loading of JPEG photo. Image binary data were affected by TStringList. Store them just as a string type.
  • Fixed: Reset list filter if different file is opened to avoid confusing empty list after file open.
  • Fixed: Decoding long quoted-printable text due to range check error of small index variable type.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormProperties.pas

    r39 r42  
    8383    Item.Caption := Name;
    8484    Item.SubItems.Add(Attributes.DelimitedText);
    85     Item.SubItems.Add(Values.DelimitedText);
     85    Item.SubItems.Add(Value);
    8686    Item.Data := ListViewSort1.List[Item.Index];
    8787  end;
     
    118118      0: Result := CompareString(TContactProperty(Item1).Name, TContactProperty(Item2).Name);
    119119      1: Result := CompareString(TContactProperty(Item1).Attributes.DelimitedText, TContactProperty(Item2).Attributes.DelimitedText);
    120       2: Result := CompareString(TContactProperty(Item1).Values.DelimitedText, TContactProperty(Item2).Values.DelimitedText);
     120      2: Result := CompareString(TContactProperty(Item1).Value, TContactProperty(Item2).Value);
    121121    end;
    122122    if ListViewSort1.Order = soDown then Result := -Result;
     
    149149             UTF8LowerCase(TContactProperty(List.Items[I]).Attributes.DelimitedText)) > 0 then Inc(FoundCount);
    150150           if Pos(UTF8LowerCase(StringGrid.Cells[2, 0]),
    151              UTF8LowerCase(TContactProperty(List.Items[I]).Values.DelimitedText)) > 0 then Inc(FoundCount);
     151             UTF8LowerCase(TContactProperty(List.Items[I]).Value)) > 0 then Inc(FoundCount);
    152152           if FoundCount <> EnteredCount then List.Delete(I);
    153153         end;
Note: See TracChangeset for help on using the changeset viewer.