Explorar o código

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

git-svn-id: trunk@21875 -
michael %!s(int64=13) %!d(string=hai) anos
pai
achega
c10901e460
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;