Label change fix
- when changing an addressbook label using UTF-8, the correspnding messagelist label was garbled
This commit is contained in:
parent
a3584bb141
commit
30d9de008f
|
@ -312,7 +312,7 @@ class MessageList_AddressWidget(QtGui.QTableWidgetItem, AccountMixin, SettingsMi
|
|||
if queryreturn is not None:
|
||||
if queryreturn != []:
|
||||
for row in queryreturn:
|
||||
newLabel, = row
|
||||
newLabel = unicode(row[0], 'utf-8', 'ignore')
|
||||
else:
|
||||
newLabel = label
|
||||
if hasattr(self, 'label') and newLabel == self.label:
|
||||
|
|
Loading…
Reference in New Issue
Block a user