summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlmindor <Almindor@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-03-20 18:30:23 +0000
committerAlmindor <Almindor@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-03-20 18:30:23 +0000
commit9490c3db367b24224641e7360fc5ea44803525fc (patch)
tree16d0faae143baff0d6fd971dd8108b51175e8563
parentc2d513fc91bfa95d183f440ac5aec8981b625960 (diff)
downloadfpc-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.inc2
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