Browse Source

* Fix bug ID #30954

git-svn-id: trunk@34980 -
michael 8 years ago
parent
commit
c06ab3f0f3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/fcl-db/src/base/fields.inc

+ 2 - 1
packages/fcl-db/src/base/fields.inc

@@ -3482,7 +3482,8 @@ end;
 procedure TFields.Changed;
 
 begin
-  if (FDataSet <> nil) and not (csDestroying in FDataSet.ComponentState) and FDataset.Active then
+  // Removed FDataSet.Active check, needed for Persistent fields (see bug ID 30954)
+  if (FDataSet <> nil) and not (csDestroying in FDataSet.ComponentState)  then
     FDataSet.DataEvent(deFieldListChange, 0);
   If Assigned(FOnChange) then
     FOnChange(Self);