electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 36c6938299448d85b519892ce37afe6522f30159
parent fd0e5739e220f4d2731bfb2b82017248ec5f6732
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 18 Feb 2016 15:45:34 +0100

kivy: fix

Diffstat:
Mgui/kivy/uix/screens.py | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py @@ -214,11 +214,14 @@ class SendScreen(CScreen): if pr.is_pr(): self.screen.is_pr = True self.payment_request = pr + else: + self.screen.is_pr = False + self.payment_request = None def do_save(self): if not self.screen.address: return - if self.payment_request: + if self.screen.is_pr: # it sould be already saved return # save address as invoice @@ -240,7 +243,7 @@ class SendScreen(CScreen): self.set_URI(contents) def do_send(self): - if self.payment_request: + if self.screen.is_pr: if self.payment_request.has_expired(): self.app.show_error(_('Payment request has expired')) return