Browse Source

qt: show_info -> show_error

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
6c055e80ed
  1. 2
      electrum/gui/qt/main_window.py

2
electrum/gui/qt/main_window.py

@ -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))

Loading…
Cancel
Save