diff options
author | Almindor <Almindor@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-03-20 18:30:23 +0000 |
---|---|---|
committer | Almindor <Almindor@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-03-20 18:30:23 +0000 |
commit | 9490c3db367b24224641e7360fc5ea44803525fc (patch) | |
tree | 16d0faae143baff0d6fd971dd8108b51175e8563 | |
parent | c2d513fc91bfa95d183f440ac5aec8981b625960 (diff) | |
download | fpc-9490c3db367b24224641e7360fc5ea44803525fc.tar.gz |
* fix potential bug in cleanroom TField.RefreshLookupList
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/cleanroom@10513 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r-- | packages/fcl-db/src/base/fields.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/fcl-db/src/base/fields.inc b/packages/fcl-db/src/base/fields.inc index 8683dca570..71ecad6b86 100644 --- a/packages/fcl-db/src/base/fields.inc +++ b/packages/fcl-db/src/base/fields.inc @@ -667,7 +667,7 @@ begin FLookupDataSet.Active := True; FFields.CheckFieldNames(FLookupKeyfields); FLookupDataset.FieldByName(FLookupresultField); // I presume that if it doesn't exist it throws exception, and that a field with null value is still valid - FLookupList.Clear; + LookupList.Clear; // have to be F-less because we might be creating it here with getter! FLookupDataSet.DisableControls; try |