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

This commit is contained in:
Veronica Berglyd Olsen
2025-02-09 15:11:07 +01:00
parent 2401fc2531
commit d4d258e170
4 changed files with 10 additions and 5 deletions
+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()