mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 11:59:15 +02:00
LCL, fix DBNavigator enabled state from Junior Goncalves, issue #10794
git-svn-id: trunk@14054 -
This commit is contained in:
parent
5a6bbf49a4
commit
544e51f855
@ -360,6 +360,15 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TDBCustomNavigator.SetEnabled(Value: Boolean);
|
||||
begin
|
||||
if Value<>Enabled then begin
|
||||
inherited SetEnabled(Value);
|
||||
if not (csLoading in ComponentState) then
|
||||
UpdateButtons;
|
||||
end;
|
||||
end;
|
||||
|
||||
constructor TDBCustomNavigator.Create(TheOwner: TComponent);
|
||||
begin
|
||||
BeginUpdateButtons;
|
||||
|
Loading…
Reference in New Issue
Block a user