Added a sanity check on the titleKey

This commit is contained in:
Veronica K. B. Olsen
2019-11-17 16:11:26 +01:00
parent d1417ceea0
commit d533d91adc
+3
View File
@@ -118,6 +118,9 @@ class GuiProjectOutline(QWidget):
for titleKey in self.theIndex.getNovelStructure():
if len(titleKey) < 15:
continue
tHandle = titleKey[:13]
sTitle = titleKey[14:]