Rerender more widgets when deleting address by API

This commit is contained in:
Dmitri Bogomolov 2019-03-05 18:47:37 +02:00
parent e25fb857cb
commit 7e1ee815b9
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -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'