mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-03 19:13:41 +01:00
Select the row when scrolling to it
This commit is contained in:
parent
7e87812027
commit
2fca198781
1 changed files with 1 additions and 1 deletions
|
|
@ -683,7 +683,7 @@ def set_editable(self, editable, supports_backloading):
|
|||
def search_proxy(self, txt):
|
||||
self._model.search(txt)
|
||||
if self._model.lowest_row_matching:
|
||||
self.scroll_to_row(self._model.lowest_row_matching)
|
||||
self.select_rows([self._model.lowest_row_matching], using_ids=False)
|
||||
self.setFocus(Qt.OtherFocusReason)
|
||||
|
||||
def connect_to_search_box(self, sb, search_done):
|
||||
|
|
|
|||
Loading…
Reference in a new issue