mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improve positioning of tag browser after a refresh
This commit is contained in:
parent
c69fcc1d13
commit
bd6a14069d
@ -1831,6 +1831,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
||||
if idx.isValid():
|
||||
self.tags_view.setCurrentIndex(idx)
|
||||
self.tags_view.scrollTo(idx, position)
|
||||
self.tags_view.setCurrentIndex(idx)
|
||||
if box:
|
||||
tag_item = idx.internalPointer()
|
||||
tag_item.boxed = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user