mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #468
This commit is contained in:
parent
cb7c0609be
commit
f9adfdba83
@ -1485,6 +1485,8 @@ class TextBlock(LrsObject, LrsContainer):
|
||||
self.textSettings[name] = value
|
||||
elif name in BlockStyle.validSettings:
|
||||
self.blockSettings[name] = value
|
||||
elif name == 'toclabel':
|
||||
self.tocLabel = value
|
||||
else:
|
||||
raise LrsError, "%s not a valid setting for TextBlock" % name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user