Label change fix

- when changing an addressbook label using UTF-8, the correspnding
  messagelist label was garbled
This commit is contained in:
Peter Šurda 2016-10-25 07:54:52 +02:00
parent a3584bb141
commit 30d9de008f
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 1 additions and 1 deletions

View File

@ -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')
newLabel = label
if hasattr(self, 'label') and newLabel == self.label: