mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 17:19:18 +01:00
LCL: fixed bug in TControl.IsEnabled, must check for local control pointer.
git-svn-id: trunk@32505 -
This commit is contained in:
parent
6aa2dad49f
commit
863690f066
@ -672,7 +672,7 @@ begin
|
||||
repeat
|
||||
Result := TheControl.Enabled;
|
||||
TheControl := TheControl.Parent;
|
||||
until (not Result) or (TheControl.Parent = nil);
|
||||
until (TheControl = nil) or (not Result) or (TheControl.Parent = nil);
|
||||
end;
|
||||
|
||||
function TControl.FormIsUpdating: boolean;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user