Added a sanity check on the titleKey

This commit is contained in:
Veronica K. B. Olsen committed 2019-11-17 16:11:26 +01:00
1 parent d1417ceea0
commit d533d91adc
1 file changed
+3
+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:]