Different policy for scrolling to reveal tree item for different ways of opening a document

This commit is contained in:
Veronica K. B. Olsen
2020-06-22 18:37:22 +02:00
parent 64e2521974
commit a57242d26f
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ class GuiDocMerge(QDialog):
self.theParent.treeView.revealTreeItem(nHandle)
theDoc.openDocument(nHandle, False)
theDoc.saveDocument(theText)
self.theParent.openDocument(nHandle)
self.theParent.openDocument(nHandle, doScroll=True)
self.close()