LCL/RadioGroup: Fix radiogroup with buttons hidden in TForm.OnCreate handler. Issue #41091.

This commit is contained in:
wp_xyz 2024-08-24 19:13:28 +02:00
parent dd08224a11
commit 9ec4b13788

View File

@ -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[]