소스 검색

* 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);