From aab6cf84900d4bdc7b20ed52eb26a119fd0e502b Mon Sep 17 00:00:00 2001 From: Rinaldus Date: Tue, 26 Jul 2016 11:21:31 +0300 Subject: [PATCH] the table now clears properly after reading mail --- mail-notifier.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mail-notifier.py b/mail-notifier.py index 654ae97..efd0f72 100755 --- a/mail-notifier.py +++ b/mail-notifier.py @@ -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()