MG: fixed removing controls

git-svn-id: trunk@2067 -
This commit is contained in:
lazarus 2002-08-17 23:40:51 +00:00
parent b6569f7083
commit 16752bdf6e

View File

@ -292,10 +292,9 @@ Begin
// the component list of the form has changed
// -> restart the search
i:=AWinControl.ControlCount-1;
continue;
end;
end else
dec(i);
end;
dec(i);
end;
// remove component
if Assigned(FOnRemoveComponent) then