Kaynağa Gözat

Merged revisions 12568 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r12568 | joost | 2009-01-19 11:54:19 +0100 (Mon, 19 Jan 2009) | 1 line

* Use RestoreState in TBufdataset.Lookup, so that the Disablecontrols is false after the search
........

git-svn-id: branches/fixes_2_2@12666 -

joost 16 yıl önce
ebeveyn
işleme
5b2072151e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      packages/fcl-db/src/base/bufdataset.pas

+ 1 - 1
packages/fcl-db/src/base/bufdataset.pas

@@ -2746,7 +2746,7 @@ begin
   CurrLinkItem := (FCurrentIndex as TDoubleLinkedBufIndex).FFirstRecBuf;
   FilterBuffer:=IntAllocRecordBuffer;
   move((FCurrentIndex as TDoubleLinkedBufIndex).FLastRecBuf^,FilterBuffer^,FRecordsize+sizeof(TBufRecLinkItem)*FMaxIndexesCount);
-  SetTempState(StoreDSState);
+  RestoreState(StoreDSState);
 
   // Iterate through the records until a match is found
   while (CurrLinkItem <> (FCurrentIndex as TDoubleLinkedBufIndex).FLastRecBuf) do