From a45bd4b42ea2ed7d0f7f94e005c9a8ccb28622e0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 29 Jan 2014 19:12:49 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/diff/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/diff/view.py b/src/calibre/gui2/tweak_book/diff/view.py index 34733f640f..9aba99a7a2 100644 --- a/src/calibre/gui2/tweak_book/diff/view.py +++ b/src/calibre/gui2/tweak_book/diff/view.py @@ -251,7 +251,7 @@ class TextBrowser(PlainTextEdit): # {{{ if block.isVisible() and bottom >= r.top(): text = unicode(self.line_number_map.get(num, '')) is_start = num in change_starts - if is_start: + if is_start and text != '-': painter.save() f = QFont(self.font()) f.setBold(True)