Fix document splitter not recognising alt scene format (#2233)

This commit is contained in:
Veronica Berglyd Olsen committed 2025-02-09 15:11:07 +01:00
1 parent 2401fc2531
commit d4d258e170
4 files changed
+10 -5

No files matched your search

+4
View File
@@ -247,6 +247,10 @@ class GuiDocSplit(NDialog):
onLine = lineNo
hLevel = 2
hLabel = aLine[4:].strip()
elif aLine.startswith("###! ") and spLevel >= 3:
onLine = lineNo
hLevel = 3
hLabel = aLine[5:].strip()
if onLine >= 0 and hLevel > 0:
newItem = QListWidgetItem()