This commit is contained in:
Kovid Goyal 2011-06-27 13:33:22 -06:00
parent 2395ef8112
commit ccfff7f456

View File

@ -574,9 +574,7 @@ class TagsView(QTreeView): # {{{
self.setExpanded(idx, True) # Needed otherwise Qt segfaults if the
# node is buried in a collapsed, off
# screen hierarchy
self.setCurrentIndex(idx)
self.scrollTo(idx, position)
self.setCurrentIndex(idx)
if box:
self._model.set_boxed(idx)