commit 27a9d02b8cf4110f67644a2442dd255d5a36e482
parent 65cf0ebce804f16c007c8ea1b85821942e4f30a5
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 20 Aug 2019 16:07:23 +0200
kivy: update receive screen after adding request
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py
@@ -464,6 +464,7 @@ class ReceiveScreen(CScreen):
req = self.app.wallet.make_payment_request(addr, amount, message, expiration)
self.app.wallet.add_payment_request(req, self.app.electrum_config)
key = addr
+ self.update()
self.app.show_request(lightning, key)
def get_card(self, req):
@@ -494,7 +495,6 @@ class ReceiveScreen(CScreen):
return ci
def update(self):
- self.menu_actions = [(_('Show'), self.do_show), (_('Delete'), self.do_delete)]
_list = self.app.wallet.get_sorted_requests(self.app.electrum_config)
requests_container = self.screen.ids.requests_container
requests_container.data = [self.get_card(item) for item in _list]