mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 14:40:47 +02:00
LCL: Fix a bug in ValueListEditor when reading / writing value by key (Values['Key'])
git-svn-id: trunk@40193 -
This commit is contained in:
parent
1dd55f7ae0
commit
053dfd2a1a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user