From 6921e9fece0678b33045f497cd716150ff5b49dd Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 22 Oct 2017 15:50:32 +0200 Subject: [PATCH] kivy: do not display 'signing' message if user cancels send_tx --- gui/kivy/uix/screens.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py index 761c5b792..3c1435944 100644 --- 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)