Subject appeared to be str
This commit is contained in:
parent
4a097e99b3
commit
828f4d207f
|
@ -459,7 +459,7 @@ class MessageList_SubjectWidget(BMTableWidgetItem):
|
|||
if role == QtCore.Qt.UserRole:
|
||||
return self.subject
|
||||
if role == QtCore.Qt.ToolTipRole:
|
||||
return escape(self.subject)
|
||||
return escape(unicode(self.subject, 'utf-8'))
|
||||
return super(MessageList_SubjectWidget, self).data(role)
|
||||
|
||||
# label (or address) alphabetically, disabled at the end
|
||||
|
|
Reference in New Issue
Block a user