Update radio_set_changed.py (#1947)

In the aftermath of #1935 and #1940 this fell through the cracks.
This commit is contained in:
Rodrigo Girão Serrão
2023-03-06 12:04:22 +00:00
committed by GitHub
parent 6d2e53c380
commit 294213e0a1

View File

@@ -35,7 +35,7 @@ class RadioSetChangedApp(App[None]):
f"Pressed button label: {event.pressed.label}" f"Pressed button label: {event.pressed.label}"
) )
self.query_one("#index", Label).update( self.query_one("#index", Label).update(
f"Pressed button index: {event.input.pressed_index}" f"Pressed button index: {event.radio_set.pressed_index}"
) )