The condition which is always False causes critical error #1081

This commit is contained in:
Dmitri Bogomolov 2018-01-25 14:29:25 +02:00
parent d3a83eced6
commit 0097ea6476
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -2542,7 +2542,7 @@ class MyForm(settingsmixin.SMainWindow):
tableWidget.item(i, 2).setUnread(False) tableWidget.item(i, 2).setUnread(False)
tableWidget.item(i, 3).setFont(font) tableWidget.item(i, 3).setFont(font)
# sqlite default limit, unfortunately getting/setting isn't exposed to python # sqlite default limit, unfortunately getting/setting isn't exposed to python
if i % 999 == 999: if i % 999 == 0:
markread += partialUpdate(self.getCurrentFolder(), msgids) markread += partialUpdate(self.getCurrentFolder(), msgids)
msgids = [] msgids = []