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:
Kovid Goyal 2020-07-04 14:10:10 +05:30
commit ccf23b7b86
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)