Fix ui row selection on keyboard navigation

This commit is contained in:
Bernd Schoolmann 2024-02-10 16:35:58 +01:00
parent 76baf9eca0
commit 86848065d1
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ class MainWindow(Gtk.ApplicationWindow):
# focus results # focus results
if self.results_list.get_first_child() != None: if self.results_list.get_first_child() != None:
self.results_list.get_first_child().grab_focus() self.results_list.get_first_child().grab_focus()
self.results_list.select_row(self.results_list.get_first_child())
if keyval == 113: if keyval == 113:
return False return False