mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 01:59:05 +02:00
TAChart: Fix potentially unbalanced sequence of Dataset.DisableControls and .EnableControls in TDbChartSource (https://forum.lazarus.freepascal.org/index.php/topic,70019.msg545153/topicseen.html)
This commit is contained in:
parent
67ff91cf1f
commit
8ef40e37d5
@ -146,8 +146,8 @@ procedure TDbChartSource.AfterDraw;
|
||||
begin
|
||||
inherited AfterDraw;
|
||||
try
|
||||
if not FDataLink.Active or (FBookmark = nil) then exit;
|
||||
FDataLink.Dataset.EnableControls;
|
||||
if not FDataLink.Active or (FBookmark = nil) then exit;
|
||||
FDataLink.DataSet.GotoBookmark(FBookmark);
|
||||
FDataLink.DataSet.FreeBookmark(FBookmark);
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user