mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-02 07:00:01 -05:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1886219 [[Enhancement] Don't only select the tag but also focus on the tag](https://bugs.launchpad.net/calibre/+bug/1886219)
This commit is contained in:
commit
ccf23b7b86
@ -341,9 +341,11 @@ class TagListEditor(QDialog, Ui_TagListEditor):
|
||||
|
||||
if select_item is not None:
|
||||
self.table.setCurrentItem(select_item)
|
||||
self.table.setFocus(True)
|
||||
self.start_find_pos = select_item.row()
|
||||
else:
|
||||
self.table.setCurrentCell(0, 0)
|
||||
self.search_box.setFocus()
|
||||
self.start_find_pos = -1
|
||||
self.table.blockSignals(False)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user