From 444edbd6a3b207815449441fc48b5fd1a15f27ad Mon Sep 17 00:00:00 2001 From: mailchuck Date: Sun, 1 May 2016 08:16:10 +0200 Subject: [PATCH] Subscription folder loading fix --- src/bitmessageqt/account.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bitmessageqt/account.py b/src/bitmessageqt/account.py index 610b9b46..35a3b91c 100644 --- a/src/bitmessageqt/account.py +++ b/src/bitmessageqt/account.py @@ -35,6 +35,11 @@ def getSortedSubscriptions(count = False): GROUP BY inbox.fromaddress, folder''') for row in queryreturn: address, folder, cnt = row + if not folder in ret[address]: + ret[address][folder] = { + 'label': ret[address]['inbox']['label'], + 'enabled': ret[address]['inbox']['enabled'] + } ret[address][folder]['count'] = cnt return ret