commit 01d4118221cd43bcffc01fb7cde5173ca2846c70
parent 1628965ed50f8b6e1dfc2d29f6fb8f51e5c5317c
Author: ThomasV <thomasv@gitorious>
Date: Tue, 21 Jul 2015 13:09:34 +0200
rm useless warning
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -739,13 +739,12 @@ class ElectrumWindow(QMainWindow):
try:
alias_privkey = self.wallet.get_private_key(alias_addr, password)[0]
except Exception as e:
- QMessageBox.warning(parent, _('Error'), str(e), _('OK'))
+ QMessageBox.warning(self, _('Error'), str(e), _('OK'))
return
else:
return
else:
- if not self.question(_('This request will not be signed; the Bitcoin address returned by your alias does not belong to your wallet')):
- return
+ return
pr, requestor = paymentrequest.make_request(self.config, req, alias, alias_privkey)
if requestor:
req['name'] = requestor