Don't scroll project tree every time a document is opened

This commit is contained in:
Veronica K. B. Olsen
2020-06-20 18:17:48 +02:00
parent 6c872596b7
commit 1d6f346955
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1815,7 +1815,7 @@ class GuiDocEditHeader(QWidget):
"""Capture a click on the title and ensure that the item is
selected in the project tree.
"""
self.theParent.treeView.setSelectedHandle(self.theHandle)
self.theParent.treeView.setSelectedHandle(self.theHandle, doScroll=True)
return
# END Class GuiDocEditHeader