0022917: Patch for AV when closing TRXDBLookupCombo PopUp window

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2525 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2012-09-19 20:14:13 +00:00
parent 7afccb7f2a
commit 28e82d44ad

View File

@ -3706,6 +3706,9 @@ end;
procedure TRxDBGrid.LayoutChanged; procedure TRxDBGrid.LayoutChanged;
begin begin
if csDestroying in ComponentState then
exit;
inherited LayoutChanged; inherited LayoutChanged;
if DatalinkActive and (FInProcessCalc = 0) and (Datalink.DataSet.State = dsBrowse) then if DatalinkActive and (FInProcessCalc = 0) and (Datalink.DataSet.State = dsBrowse) then
CalcStatTotals; CalcStatTotals;