Add page offset spinbox to Contents tab on Project Details dialog
This commit is contained in:
+5
-2
@@ -627,7 +627,7 @@ class NWIndex():
|
||||
pKey = tKey
|
||||
tOrder.append(tKey)
|
||||
tData[tKey] = {
|
||||
"level": theData["level"],
|
||||
"level": iLevel,
|
||||
"title": theData["title"],
|
||||
"words": theData["wCount"],
|
||||
}
|
||||
@@ -635,7 +635,10 @@ class NWIndex():
|
||||
theToC = []
|
||||
for tKey in tOrder:
|
||||
theToC.append((
|
||||
tKey, tData[tKey]["level"], tData[tKey]["title"], tData[tKey]["words"]
|
||||
tKey,
|
||||
tData[tKey]["level"],
|
||||
tData[tKey]["title"],
|
||||
tData[tKey]["words"],
|
||||
))
|
||||
|
||||
return theToC
|
||||
|
||||
@@ -96,6 +96,7 @@ class OptionState():
|
||||
"widthCol3",
|
||||
"widthCol4",
|
||||
"wordsPerPage",
|
||||
"countFrom",
|
||||
"clearDouble",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user