Merge pull request #404 from grant-olson/detect_RE_as_reply

Count RE: as a reply header, just like Re: so we don't chain Re: RE: RE:...
This commit is contained in:
Jonathan Warren 2013-08-15 13:15:15 -07:00
commit 553a164c3b

View File

@ -2388,7 +2388,7 @@ class MyForm(QtGui.QMainWindow):
# self.ui.comboBoxSendFrom.setEditText(str(self.ui.tableWidgetInbox.item(currentInboxRow,0).text))
self.ui.textEditMessage.setText('\n\n------------------------------------------------------\n' + self.ui.tableWidgetInbox.item(
currentInboxRow, 2).data(Qt.UserRole).toPyObject())
if self.ui.tableWidgetInbox.item(currentInboxRow, 2).text()[0:3] == 'Re:':
if self.ui.tableWidgetInbox.item(currentInboxRow, 2).text()[0:3] in ['Re:', 'RE:']:
self.ui.lineEditSubject.setText(
self.ui.tableWidgetInbox.item(currentInboxRow, 2).text())
else: