From 30d9de008f2390db8d8c5fda9857cc975356d6f6 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Tue, 25 Oct 2016 07:54:52 +0200 Subject: [PATCH] Label change fix - when changing an addressbook label using UTF-8, the correspnding messagelist label was garbled --- src/bitmessageqt/foldertree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/foldertree.py b/src/bitmessageqt/foldertree.py index ed76eac2..1204b7ca 100644 --- a/src/bitmessageqt/foldertree.py +++ b/src/bitmessageqt/foldertree.py @@ -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: