commit b99fdf3130708eef8e065f200f411e309d8a2c26
parent 8f16a1bd09bfb415a7b3c695d8cfa22ed6a21f8e
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 26 Feb 2016 10:25:37 +0100
kivy error message
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py
@@ -257,6 +257,9 @@ class SendScreen(CScreen):
outputs = self.payment_request.get_outputs()
else:
address = str(self.screen.address)
+ if not address:
+ self.app.show_error(_('No recipient. Please scan a Bitcoin address or a payment request'))
+ return
if not bitcoin.is_address(address):
self.app.show_error(_('Invalid Bitcoin Address') + ':\n' + address)
return