Browse Source

* Patch from Ludo Brands to fix Modified behaviour (bug ID 22381)

git-svn-id: trunk@21875 -
michael 13 năm trước cách đây
mục cha
commit
c10901e460
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/fcl-db/src/base/dataset.inc

+ 2 - 0
packages/fcl-db/src/base/dataset.inc

@@ -1367,6 +1367,8 @@ begin
   If Value<>FState then
     begin
     FState:=Value;
+    if Value=dsBrowse then
+      FModified:=false;
     DataEvent(deUpdateState,0);
     end;
 end;