Browse Source

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

git-svn-id: trunk@21875 -
michael 13 years ago
parent
commit
c10901e460
1 changed files with 2 additions and 0 deletions
  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
   If Value<>FState then
     begin
     begin
     FState:=Value;
     FState:=Value;
+    if Value=dsBrowse then
+      FModified:=false;
     DataEvent(deUpdateState,0);
     DataEvent(deUpdateState,0);
     end;
     end;
 end;
 end;