mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 04:36:31 +02:00
LCL, fix editing grid cell in custom column even when it's set readonly
git-svn-id: trunk@22437 -
This commit is contained in:
parent
400a6e7478
commit
8de5601593
@ -6300,7 +6300,7 @@ var
|
||||
C: TGridColumn;
|
||||
begin
|
||||
Result:=(goEditing in options);
|
||||
if Result and (ACol>=0) and (ACol<FColumns.Count) then begin
|
||||
if Result and (ACol>=0) and (ACol<ColCount) then begin
|
||||
C:=ColumnFromGridColumn(ACol);
|
||||
Result:=(C<>nil) and (not C.ReadOnly);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user