Add novel tree highlight of rows of current document

This commit is contained in:
Veronica Berglyd Olsen
2022-06-15 19:39:07 +02:00
parent ba0ce33cfc
commit 469275eea5
4 changed files with 31 additions and 4 deletions
+2
View File
@@ -573,6 +573,7 @@ class GuiMain(QMainWindow):
if self.docEditor.docChanged():
self.saveDocument()
self.docEditor.clearEditor()
self.novelView.setActiveHandle(None)
return True
@@ -594,6 +595,7 @@ class GuiMain(QMainWindow):
self.docEditor.setFocus()
self.theProject.setLastEdited(tHandle)
self.projView.setSelectedHandle(tHandle, doScroll=doScroll)
self.novelView.setActiveHandle(tHandle)
else:
return False