LCL: Fix a bug in ValueListEditor when reading / writing value by key (Values['Key'])

git-svn-id: trunk@40193 -
This commit is contained in:
juha 2013-02-06 10:53:57 +00:00
parent 1dd55f7ae0
commit 053dfd2a1a

View File

@ -686,7 +686,7 @@ var
begin
Result := '';
I := Strings.IndexOfName(Key);
if Row > -1 then begin
if I > -1 then begin
Inc(I, FixedRows);
Result:=Cells[1,I];
end;
@ -697,7 +697,7 @@ var
I: Integer;
begin
I := Strings.IndexOfName(Key);
if Row > -1 then begin
if I > -1 then begin
Inc(I, FixedRows);
Cells[1,I]:=AValue;
end