From 0097ea6476a96aa49023d32f33b2277fbb364f59 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 25 Jan 2018 14:29:25 +0200 Subject: [PATCH] The condition which is always False causes critical error #1081 --- src/bitmessageqt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index e6ff0cd0..5f69228d 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -2542,7 +2542,7 @@ class MyForm(settingsmixin.SMainWindow): tableWidget.item(i, 2).setUnread(False) tableWidget.item(i, 3).setFont(font) # sqlite default limit, unfortunately getting/setting isn't exposed to python - if i % 999 == 999: + if i % 999 == 0: markread += partialUpdate(self.getCurrentFolder(), msgids) msgids = []