mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 05:40:45 +01:00
LCL, Patch for TDBMemo so that UpdateRecord is only called when there has been changed something, from joost, issue #12725
git-svn-id: trunk@17652 -
This commit is contained in:
parent
893a5a4867
commit
21c26f68e4
@ -153,8 +153,10 @@ end;
|
||||
|
||||
procedure TDBMemo.EditingDone;
|
||||
begin
|
||||
FDataLink.UpdateRecord;
|
||||
inherited EditingDone;
|
||||
if FDataLink.CanModify and FDatalink.Editing then begin
|
||||
FDataLink.UpdateRecord;
|
||||
inherited EditingDone;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TDBMemo.Change;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user