From b23a6bc300c6c1d88e5498fc64e96b52f9de701a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Gir=C3=A3o=20Serr=C3=A3o?= <5621605+rodrigogiraoserrao@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:33:39 +0000 Subject: [PATCH] Update radio_set_changed.py In the aftermath of #1935 and #1940 this fell through the cracks. --- docs/examples/widgets/radio_set_changed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/widgets/radio_set_changed.py b/docs/examples/widgets/radio_set_changed.py index be0ecbab27..c360cb8687 100644 --- a/docs/examples/widgets/radio_set_changed.py +++ b/docs/examples/widgets/radio_set_changed.py @@ -35,7 +35,7 @@ def on_radio_set_changed(self, event: RadioSet.Changed) -> None: f"Pressed button label: {event.pressed.label}" ) self.query_one("#index", Label).update( - f"Pressed button index: {event.input.pressed_index}" + f"Pressed button index: {event.radio_set.pressed_index}" )