Added a sanity check on the titleKey
This commit is contained in:
@@ -118,6 +118,9 @@ class GuiProjectOutline(QWidget):
|
|||||||
|
|
||||||
for titleKey in self.theIndex.getNovelStructure():
|
for titleKey in self.theIndex.getNovelStructure():
|
||||||
|
|
||||||
|
if len(titleKey) < 15:
|
||||||
|
continue
|
||||||
|
|
||||||
tHandle = titleKey[:13]
|
tHandle = titleKey[:13]
|
||||||
sTitle = titleKey[14:]
|
sTitle = titleKey[14:]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user