mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-22 10:49:29 +02:00
* Use RestoreState in TBufdataset.Lookup, so that the Disablecontrols is false after the search
git-svn-id: trunk@12568 -
This commit is contained in:
parent
7613f3eb5f
commit
7858cb445b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user