Fix reply unicode subject

Fixes #62
This commit is contained in:
mailchuck 2015-10-18 22:54:52 +02:00
parent 8b527f81ee
commit 6639a19126
No known key found for this signature in database
GPG Key ID: B6311FA753FBF089

View File

@ -2876,7 +2876,7 @@ class MyForm(QtGui.QMainWindow):
if queryreturn != []:
for row in queryreturn:
messageAtCurrentInboxRow, = row
acct.parseMessage(toAddressAtCurrentInboxRow, fromAddressAtCurrentInboxRow, str(tableWidget.item(currentInboxRow, 2).data(Qt.UserRole).toPyObject()), messageAtCurrentInboxRow)
acct.parseMessage(toAddressAtCurrentInboxRow, fromAddressAtCurrentInboxRow, unicode(tableWidget.item(currentInboxRow, 2).data(Qt.UserRole).toPyObject(), 'utf-8'), messageAtCurrentInboxRow)
widget = {
'subject': self.ui.lineEditSubject,
'from': self.ui.comboBoxSendFrom,