qt: show_info -> show_error
This commit is contained in:
@@ -1686,7 +1686,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
|||||||
elif status == 'progress':
|
elif status == 'progress':
|
||||||
print('on_payment_status', key, status, args)
|
print('on_payment_status', key, status, args)
|
||||||
elif status == 'failure':
|
elif status == 'failure':
|
||||||
self.show_info(_('Payment failed'))
|
self.show_error(_('Payment failed'))
|
||||||
elif status == 'error':
|
elif status == 'error':
|
||||||
e = args[0]
|
e = args[0]
|
||||||
self.show_error(_('Error') + '\n' + str(e))
|
self.show_error(_('Error') + '\n' + str(e))
|
||||||
|
|||||||
Reference in New Issue
Block a user