commit 6921e9fece0678b33045f497cd716150ff5b49dd
parent 7cf075c754bde9855395ad503c16d778036c2116
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 22 Oct 2017 15:50:32 +0200
kivy: do not display 'signing' message if user cancels send_tx
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py
@@ -296,6 +296,8 @@ class SendScreen(CScreen):
self.app.protected('\n'.join(msg), self.send_tx, (tx, message))
def send_tx(self, tx, message, password):
+ if self.app.wallet.has_password() and password is None:
+ return
def on_success(tx):
if tx.is_complete():
self.app.broadcast(tx, self.payment_request)