mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 07:36:19 +02:00
LCL, fix inserting columns in grid with custom columns, issue #19087
git-svn-id: trunk@33453 -
This commit is contained in:
parent
2c2382e069
commit
82e093ff6d
@ -11058,10 +11058,10 @@ end;
|
|||||||
|
|
||||||
procedure TGridColumns.InsertColumn(Index: Integer);
|
procedure TGridColumns.InsertColumn(Index: Integer);
|
||||||
begin
|
begin
|
||||||
BeginUpdate;
|
FGrid.BeginUpdate;
|
||||||
Add;
|
Add;
|
||||||
MoveColumn(Count-1, Index);
|
MoveColumn(Count-1, Index);
|
||||||
EndUpdate;
|
FGrid.EndUpdate;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TGridColumns.Create(AGrid: TCustomGrid;
|
constructor TGridColumns.Create(AGrid: TCustomGrid;
|
||||||
|
Loading…
Reference in New Issue
Block a user