This commit is contained in:
Kovid Goyal 2014-01-29 19:12:49 +05:30
parent 848ce1ce7c
commit a45bd4b42e

View File

@ -251,7 +251,7 @@ class TextBrowser(PlainTextEdit): # {{{
if block.isVisible() and bottom >= r.top(): if block.isVisible() and bottom >= r.top():
text = unicode(self.line_number_map.get(num, '')) text = unicode(self.line_number_map.get(num, ''))
is_start = num in change_starts is_start = num in change_starts
if is_start: if is_start and text != '-':
painter.save() painter.save()
f = QFont(self.font()) f = QFont(self.font())
f.setBold(True) f.setBold(True)