mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update radio_set_changed.py (#1947)
In the aftermath of #1935 and #1940 this fell through the cracks.
This commit is contained in:
committed by
GitHub
parent
6d2e53c380
commit
294213e0a1
@@ -35,7 +35,7 @@ class RadioSetChangedApp(App[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}"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user