Selecting outline item should also select it in project tree

This commit is contained in:
Veronica K. B. Olsen committed 2021-01-01 15:08:11 +01:00
1 parent 942a604b5b
commit 3d5a5e4d86
1 file changed
+1
+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