ソースを参照

* Fix bug ID #30954

git-svn-id: trunk@34980 -
michael 8 年 前
コミット
c06ab3f0f3
1 ファイル変更2 行追加1 行削除
  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);