From 8ebae8ebe51e4906550a2be1b85da87508d022df Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 11 Jul 2014 17:13:10 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/editor/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/editor/text.py b/src/calibre/gui2/tweak_book/editor/text.py index 580e363ec3..1a93fb8a1c 100644 --- a/src/calibre/gui2/tweak_book/editor/text.py +++ b/src/calibre/gui2/tweak_book/editor/text.py @@ -224,7 +224,7 @@ class TextEdit(PlainTextEdit): def change_document_name(self, newname): self.highlighter.doc_name = newname - self.highlighter.rehighlight() # Ensure links are checked w.r.t. to the new name correctly + self.highlighter.rehighlight() # Ensure links are checked w.r.t. the new name correctly def replace_text(self, text): c = self.textCursor()