mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
typo
This commit is contained in:
parent
5a0da12942
commit
b958361a18
@ -21,7 +21,7 @@ class ResultsDelegate(QStyledItemDelegate): # {{{
|
|||||||
def result_data(self, result):
|
def result_data(self, result):
|
||||||
if not hasattr(result, 'is_hidden'):
|
if not hasattr(result, 'is_hidden'):
|
||||||
return None, None, None, None
|
return None, None, None, None
|
||||||
return result.is_hidden, result.before, result.text, result.text
|
return result.is_hidden, result.before, result.text, result.after
|
||||||
|
|
||||||
def paint(self, painter, option, index):
|
def paint(self, painter, option, index):
|
||||||
QStyledItemDelegate.paint(self, painter, option, index)
|
QStyledItemDelegate.paint(self, painter, option, index)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user