mirror of https://github.com/gmbrax/Pilgrim.git
Merge pull request #31 from gmbrax/fix/binding-not-working
Merge fix/binding-not-working to staging
This commit is contained in:
commit
7d882b5f21
|
|
@ -1027,4 +1027,13 @@ class EditEntryScreen(Screen):
|
|||
# Tab: insert tab
|
||||
elif self.focused is self.text_entry and event.key == "tab":
|
||||
self.text_entry.insert('\t')
|
||||
event.stop()
|
||||
event.stop()
|
||||
|
||||
def on_footer_action(self, event) -> None:
|
||||
"""Handle clicks on footer actions (Textual 3.x)."""
|
||||
action = event.action
|
||||
method = getattr(self, f"action_{action}", None)
|
||||
if method:
|
||||
method()
|
||||
else:
|
||||
self.notify(f"No action found for: {action}", severity="warning")
|
||||
Loading…
Reference in New Issue