diff --git a/components/tachart/tadbsource.pas b/components/tachart/tadbsource.pas index 441f3fbe49..e1be2b940d 100644 --- a/components/tachart/tadbsource.pas +++ b/components/tachart/tadbsource.pas @@ -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