lcl: check for parent when setting TRadioButton siblings. part of 17284

git-svn-id: trunk@27217 -
This commit is contained in:
blikblum 2010-08-28 01:52:20 +00:00
parent 72b82c7a6c
commit 1a26b3406d

View File

@ -105,7 +105,7 @@ begin
//the siblings are unchecked by the widgetset. When the handle is not allocated,
//the widgetset is not notified so it cannot update the siblings
if not HandleAllocated and (FState = cbChecked) and
(not (csLoading in ComponentState)) then
(Parent <> nil) and (not (csLoading in ComponentState)) then
begin
for i := 0 to Parent.ControlCount - 1 do
begin