mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
lcl: check for parent when setting TRadioButton siblings. part of 17284
git-svn-id: trunk@27217 -
This commit is contained in:
parent
72b82c7a6c
commit
1a26b3406d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user