mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 14:38:01 +02:00
LCL/RadioGroup: Fix radiogroup with buttons hidden in TForm.OnCreate handler. Issue #41091.
This commit is contained in:
parent
dd08224a11
commit
9ec4b13788
@ -227,7 +227,6 @@ begin
|
||||
begin
|
||||
ARadioButton := TRadioButton(FButtonList[i]);
|
||||
ARadioButton.Checked := (i = FItemIndex);
|
||||
ARadioButton.Visible := true;
|
||||
end;
|
||||
|
||||
//FHiddenButton must remain the last item in Controls[], so that Controls[] is in sync with Items[]
|
||||
|
Loading…
Reference in New Issue
Block a user