Selecting outline item should also select it in project tree

This commit is contained in:
Veronica K. B. Olsen
2021-01-01 15:08:11 +01:00
parent 942a604b5b
commit 3d5a5e4d86
+1
View File
@@ -227,6 +227,7 @@ class GuiOutline(QTreeWidget):
tHandle = selItems[0].data(self.colIndex[nwOutline.TITLE], Qt.UserRole)
sTitle = selItems[0].data(self.colIndex[nwOutline.LINE], Qt.UserRole)
self.theParent.projMeta.showItem(tHandle, sTitle)
self.theParent.treeView.setSelectedHandle(tHandle)
return