mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Remove the bell from the Button documentation example
This commit is contained in:
@@ -27,7 +27,6 @@ class ButtonsApp(App[str]):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def on_button_pressed(self, event: Button.Pressed) -> None:
|
def on_button_pressed(self, event: Button.Pressed) -> None:
|
||||||
self.app.bell()
|
|
||||||
self.exit(str(event.button))
|
self.exit(str(event.button))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user