mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-28 17:42:54 +02:00
LCL: clean up
git-svn-id: trunk@15436 -
This commit is contained in:
parent
5d525c37af
commit
c50c6e5f90
@ -1493,11 +1493,9 @@ type
|
||||
procedure TCustomDBGrid.ColRowMoved(IsColumn: Boolean; FromIndex,
|
||||
ToIndex: Integer);
|
||||
var
|
||||
F,CurField: TField;
|
||||
ColIndex: Integer;
|
||||
F: TField;
|
||||
begin
|
||||
if IsColumn then begin
|
||||
CurField := SelectedField;
|
||||
if Columns.Enabled then
|
||||
inherited ColRowMoved(IsColumn, FromIndex, ToIndex)
|
||||
else if FDatalink.Active and (FDataLink.DataSet<>nil) then begin
|
||||
|
Loading…
Reference in New Issue
Block a user