kivy error message
This commit is contained in:
parent
8f16a1bd09
commit
b99fdf3130
|
@ -257,6 +257,9 @@ class SendScreen(CScreen):
|
||||||
outputs = self.payment_request.get_outputs()
|
outputs = self.payment_request.get_outputs()
|
||||||
else:
|
else:
|
||||||
address = str(self.screen.address)
|
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):
|
if not bitcoin.is_address(address):
|
||||||
self.app.show_error(_('Invalid Bitcoin Address') + ':\n' + address)
|
self.app.show_error(_('Invalid Bitcoin Address') + ':\n' + address)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue