diff --git a/widget/radio_group_test.go b/widget/radio_group_test.go index a51639b29a..dbea6f6e01 100644 --- a/widget/radio_group_test.go +++ b/widget/radio_group_test.go @@ -151,6 +151,7 @@ func TestRadioGroup_Layout(t *testing.T) { Options: tt.options, Selected: tt.selected, } + radio.Refresh() // set up selectedIndex if tt.disabled { radio.Disable() }