no unicode encoding needed when setting text; it is already unicode

This commit is contained in:
Jonathan Warren 2013-04-02 13:11:15 -04:00
parent ba4858de25
commit ccae1fcb8a

View File

@ -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()):