From 7e1ee815b95f138dc4a5820e7ea72cd5132bc637 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 5 Mar 2019 18:47:37 +0200 Subject: [PATCH] Rerender more widgets when deleting address by API --- src/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api.py b/src/api.py index 9d32a5bb..65d364d7 100644 --- a/src/api.py +++ b/src/api.py @@ -661,8 +661,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): BMConfigParser().remove_section(address) with open(state.appdata + 'keys.dat', 'wb') as configfile: BMConfigParser().write(configfile) - queues.UISignalQueue.put(('rerenderMessagelistFromLabels', '')) - queues.UISignalQueue.put(('rerenderMessagelistToLabels', '')) + queues.UISignalQueue.put(('writeNewAddressToTable', ('', '', ''))) shared.reloadMyAddressHashes() return 'success'