mirror of
https://github.com/aclist/dztui.git
synced 2026-11-06 01:54:49 +01:00
fix: add keypress signal to KeywordEntry
This commit is contained in:
1 parent
59120825dc
commit
decc1f636c
2 files changed
+9
-11
No files matched your search
@@ -102,6 +102,11 @@ class KeywordEntry(Gtk.Entry):
|
||||
return True
|
||||
return False
|
||||
|
||||
def restore_focus_to_treeview(self) -> Literal[False]:
|
||||
view = self.controller.get_active_treeview()
|
||||
view.grab_focus()
|
||||
return False
|
||||
|
||||
def _on_activated(self, entry: Gtk.Entry) -> None:
|
||||
# TODO: investigate this method
|
||||
self.controller.mediator.window.set_keep_below(False)
|
||||
|
||||
Reference in new issue
Block a user