mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:43:51 +02:00
Fix #1401357 [Harmless error when merging files in the editor](https://bugs.launchpad.net/calibre/+bug/1401357)
This commit is contained in:
parent
a82cf81975
commit
4d7b2a379a
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ def update_extra_selections(self, instant=True):
|
|||
sel.append(self.current_cursor_line)
|
||||
if self.current_search_mark is not None:
|
||||
sel.append(self.current_search_mark)
|
||||
if instant and not self.highlighter.has_requests:
|
||||
if instant and not self.highlighter.has_requests and self.smarts is not None:
|
||||
sel.extend(self.smarts.get_extra_selections(self))
|
||||
self.smart_highlighting_updated.emit()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue