瀏覽代碼

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

git-svn-id: trunk@21875 -
michael 13 年之前
父節點
當前提交
c10901e460
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;