From 5b5c08e905306ce369f264ce7d67548e442c76e5 Mon Sep 17 00:00:00 2001 From: Heliguy Date: Tue, 11 Mar 2025 15:06:56 -0400 Subject: [PATCH] Refocus search entry on ctrl+F --- src/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.py b/src/main.py index 506dd77..0974c11 100644 --- a/src/main.py +++ b/src/main.py @@ -118,6 +118,8 @@ class WarehouseApplication(Adw.Application): try: button = self.props.active_window.stack.get_visible_child().search_button button.set_active(True) + entry = self.props.active_window.stack.get_visible_child().search_entry + entry.grab_focus() except AttributeError: pass