From 068c0f2fdcc3b98e5b860b9f1813ca32d3eb525d Mon Sep 17 00:00:00 2001 From: alexs75 Date: Tue, 8 May 2012 14:57:37 +0000 Subject: [PATCH] fix cacl footer row in rxDBGrid git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2423 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/rx/rxdbgrid.pas | 4 ++-- components/rx/rxnew.lpk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/rx/rxdbgrid.pas b/components/rx/rxdbgrid.pas index 3b075c870..5c7eab640 100644 --- a/components/rx/rxdbgrid.pas +++ b/components/rx/rxdbgrid.pas @@ -2824,8 +2824,8 @@ begin UpdateFooterRowOnUpdateActive; end else - if Assigned(FFooterOptions) and FFooterOptions.Active and (FFooterOptions.RowCount > 0) and - DatalinkActive and (DataSource.DataSet.State = dsBrowse) then + if Assigned(FFooterOptions) and FFooterOptions.Active and (FFooterOptions.RowCount > 0) {and + DatalinkActive and (DataSource.DataSet.State = dsBrowse) }then UpdateFooterRowOnUpdateActive; // CalcStatTotals; end; diff --git a/components/rx/rxnew.lpk b/components/rx/rxnew.lpk index e0f94ea32..6f9c43ba7 100644 --- a/components/rx/rxnew.lpk +++ b/components/rx/rxnew.lpk @@ -26,7 +26,7 @@ Copyright (c) 1998 Master-Bank translate to Lazarus by alexs in 2005 - 2012 "/> - +