mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 17:59:59 +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);
|
||||
begin
|
||||
BeginUpdate;
|
||||
FGrid.BeginUpdate;
|
||||
Add;
|
||||
MoveColumn(Count-1, Index);
|
||||
EndUpdate;
|
||||
FGrid.EndUpdate;
|
||||
end;
|
||||
|
||||
constructor TGridColumns.Create(AGrid: TCustomGrid;
|
||||
|
Loading…
Reference in New Issue
Block a user