mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 14:40:31 +02:00
TRadioGroup: do not reset FItemIndex in UpdateItems whilst loading.
git-svn-id: trunk@43163 -
This commit is contained in:
parent
34c4d51b11
commit
d265b64259
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user