Fix order of story structure columns in CSV export (#2313)

This commit is contained in:
Veronica Berglyd Olsen
2025-05-18 17:10:32 +02:00
parent c2059a8701
commit bbcd11531a
+2 -1
View File
@@ -784,7 +784,8 @@ class GuiOutlineTree(QTreeWidget):
):
if novIdx.level != "H0" and (nwItem := SHARED.project.tree[tHandle]):
refs = SHARED.project.index.getReferences(tHandle, sTitle)
story = {k: v for k, v in novIdx.comments.items() if k in sMatch}.values()
comments = dict(novIdx.comments.items())
story = [comments.get(k, "") for k in sMatch]
data.append([
novIdx.level,
novIdx.title,