mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 18:19:45 +02:00
+ do not call BeforeScroll while in ApplyUpdates
git-svn-id: trunk@2036 -
This commit is contained in:
parent
710ea0edf0
commit
3bf8536c97
@ -605,7 +605,10 @@ begin
|
||||
if FUpdateBuffer[r].UpdateKind = ukDelete then
|
||||
InternalGotoBookmark(@(FUpdateBuffer[r].RecordNo))
|
||||
else
|
||||
SetRecNo(FUpdateBuffer[r].RecordNo);
|
||||
begin
|
||||
InternalGotoBookMark(@FUpdateBuffer[r].RecordNo);
|
||||
Resync([rmExact,rmCenter]);
|
||||
end;
|
||||
if ApplyRecUpdate(FUpdateBuffer[r].UpdateKind) then
|
||||
begin
|
||||
buffer := FBBuffers[FUpdateBuffer[r].RecordNo];
|
||||
@ -638,7 +641,11 @@ begin
|
||||
end;
|
||||
Refresh;
|
||||
if not GetDeleted(pbyte(FBBuffers[savebookmark])) then
|
||||
SetRecNo(SaveBookMark);
|
||||
begin
|
||||
InternalGotoBookMark(@SaveBookMark);
|
||||
Resync([rmExact,rmCenter]);
|
||||
end;
|
||||
|
||||
end;
|
||||
|
||||
procedure TBufDataset.InternalPost;
|
||||
|
Loading…
Reference in New Issue
Block a user