diff --git a/components/rx/rxdbgrid.pas b/components/rx/rxdbgrid.pas index 44474d8da..8a93f0443 100644 --- a/components/rx/rxdbgrid.pas +++ b/components/rx/rxdbgrid.pas @@ -3706,6 +3706,9 @@ end; procedure TRxDBGrid.LayoutChanged; begin + if csDestroying in ComponentState then + exit; + inherited LayoutChanged; if DatalinkActive and (FInProcessCalc = 0) and (Datalink.DataSet.State = dsBrowse) then CalcStatTotals;