Sent table header

Inbox/Sent table header for the last column now adjust (previously, both
were "Received", now the latter is "Sent).
This commit is contained in:
mailchuck 2016-04-29 21:07:08 +02:00 committed by Peter Surda
parent 5afdc052ff
commit 88678eab3a

View File

@ -1090,6 +1090,7 @@ class MyForm(settingsmixin.SMainWindow):
tableWidget.setSortingEnabled(False)
tableWidget.horizontalHeader().setSortIndicator(3, Qt.DescendingOrder)
tableWidget.horizontalHeaderItem(3).setText(_translate("MainWindow", "Sent", None))
# Load messages from database file
def loadMessagelist(self, tableWidget, account, folder="inbox", where="", what="", unreadOnly = False):
@ -1120,6 +1121,7 @@ class MyForm(settingsmixin.SMainWindow):
tableWidget.horizontalHeader().setSortIndicator(3, Qt.DescendingOrder)
tableWidget.setSortingEnabled(True)
tableWidget.selectRow(0)
tableWidget.horizontalHeaderItem(3).setText(_translate("MainWindow", "Received", None))
# create application indicator
def appIndicatorInit(self, app):