TRadioGroup: do not reset FItemIndex in UpdateItems whilst loading.

git-svn-id: trunk@43163 -
This commit is contained in:
bart 2013-10-07 17:18:13 +00:00
parent 34c4d51b11
commit d265b64259

View File

@ -199,7 +199,7 @@ begin
end;
end;
if (FItemIndex>=FItems.Count) then FItemIndex:=FItems.Count-1;
if (FItemIndex>=FItems.Count) and not (csLoading in ComponentState) then FItemIndex:=FItems.Count-1;
if FItems.Count>0 then
begin