LCL, fix inserting columns in grid with custom columns, issue #19087

git-svn-id: trunk@33453 -
This commit is contained in:
jesus 2011-11-10 07:07:29 +00:00
parent 2c2382e069
commit 82e093ff6d

View File

@ -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;