mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 21:09:30 +02:00
LCL: make ValueListEditor work also when ColumnTitles are not shown.
git-svn-id: trunk@39442 -
This commit is contained in:
parent
64b47ff313
commit
6b108dd2d8
@ -445,10 +445,9 @@ var
|
||||
I: Integer;
|
||||
begin
|
||||
Result:='';
|
||||
if ARow=0 then begin
|
||||
if doColumnTitles in DisplayOptions then
|
||||
if ACol<FTitleCaptions.Count then
|
||||
Result:=FTitleCaptions[ACol];
|
||||
if (ARow=0) and (doColumnTitles in DisplayOptions) then begin
|
||||
if ACol<FTitleCaptions.Count then
|
||||
Result:=FTitleCaptions[ACol];
|
||||
exit;
|
||||
end;
|
||||
I:=ARow-FixedRows;
|
||||
|
Loading…
Reference in New Issue
Block a user