no unicode encoding needed when setting text; it is already unicode
This commit is contained in:
parent
ba4858de25
commit
ccae1fcb8a
|
@ -3901,7 +3901,7 @@ class MyForm(QtGui.QMainWindow):
|
||||||
status,addressVersionNumber,streamNumber,ripe = decodeAddress(toAddress)
|
status,addressVersionNumber,streamNumber,ripe = decodeAddress(toAddress)
|
||||||
if ripe == toRipe:
|
if ripe == toRipe:
|
||||||
#self.ui.tableWidgetSent.item(i,3).setText(unicode(textToDisplay,'utf-8'))
|
#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):
|
def updateSentItemStatusByAckdata(self,ackdata,textToDisplay):
|
||||||
for i in range(self.ui.tableWidgetSent.rowCount()):
|
for i in range(self.ui.tableWidgetSent.rowCount()):
|
||||||
|
|
Reference in New Issue
Block a user