LCL: TControl.IsEnabled, removed wrong check for TheControl.Parent. issue #20291

git-svn-id: trunk@32512 -
This commit is contained in:
zeljko 2011-09-25 15:35:14 +00:00
parent 783508a38e
commit f293b829fd

View File

@ -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;