LCL: fixed bug in TControl.IsEnabled, must check for local control pointer.

git-svn-id: trunk@32505 -
This commit is contained in:
zeljko 2011-09-24 18:58:39 +00:00
parent 6aa2dad49f
commit 863690f066

View File

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