the table now clears properly after reading mail

This commit is contained in:
Rinaldus 2016-07-26 11:21:31 +03:00
parent 7be56a1550
commit aab6cf8490
Signed by: Rinaldus
GPG Key ID: C34E249005178E87
1 changed files with 3 additions and 0 deletions

View File

@ -328,6 +328,9 @@ def mail_check():
AllFroms=[]
AllSubjs=[]
AllDates=[]
details.ui.tableWidget.clearContents()
details.ui.tableWidget.setRowCount(0)
details.ui.tableWidget.setColumnCount(0)
if (GlobalSettingsExist() and AccountExist()):
m = Mail()
groups = settings.childGroups()