mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 17:40:26 +02:00
LCL: TControl.IsEnabled, removed wrong check for TheControl.Parent. issue #20291
git-svn-id: trunk@32512 -
This commit is contained in:
parent
783508a38e
commit
f293b829fd
@ -672,7 +672,7 @@ begin
|
||||
repeat
|
||||
Result := TheControl.Enabled;
|
||||
TheControl := TheControl.Parent;
|
||||
until (TheControl = nil) or (not Result) or (TheControl.Parent = nil);
|
||||
until (TheControl = nil) or (not Result);
|
||||
end;
|
||||
|
||||
function TControl.FormIsUpdating: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user