mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Refocus search entry on ctrl+F
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user