From ccae1fcb8aeaed9cf39978a56324dc2b8cf57a08 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Tue, 2 Apr 2013 13:11:15 -0400 Subject: [PATCH] no unicode encoding needed when setting text; it is already unicode --- bitmessagemain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitmessagemain.py b/bitmessagemain.py index b7d434fb..4d97bf0d 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -3901,7 +3901,7 @@ class MyForm(QtGui.QMainWindow): status,addressVersionNumber,streamNumber,ripe = decodeAddress(toAddress) if ripe == toRipe: #self.ui.tableWidgetSent.item(i,3).setText(unicode(textToDisplay,'utf-8')) - self.ui.tableWidgetSent.item(i,3).setText(textToDisplay,'utf-8') + self.ui.tableWidgetSent.item(i,3).setText(textToDisplay) def updateSentItemStatusByAckdata(self,ackdata,textToDisplay): for i in range(self.ui.tableWidgetSent.rowCount()):