mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-28 03:13:27 +01:00
...
This commit is contained in:
parent
6ee7e7af46
commit
ff10e92b1b
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ def recheck_word(self, word, locale):
|
|||
block = c.block()
|
||||
while block.isValid():
|
||||
for r in block.layout().additionalFormats():
|
||||
if r.format.property(SPELL_PROPERTY).toBool() and self.text_for_range(block, r) == word:
|
||||
if r.format.property(SPELL_PROPERTY) and self.text_for_range(block, r) == word:
|
||||
self.highlighter.reformat_block(block)
|
||||
break
|
||||
block = block.next()
|
||||
|
|
|
|||
Loading…
Reference in a new issue