mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add success/warning/error button variants
This commit is contained in:
@@ -416,7 +416,6 @@ class MessagePump:
|
||||
Args:
|
||||
event (events.Key): A key event.
|
||||
"""
|
||||
|
||||
key_method = getattr(self, f"key_{event.key}", None)
|
||||
if key_method is not None:
|
||||
if await invoke(key_method, event):
|
||||
|
||||
Reference in New Issue
Block a user