Browse Source

qt transaction_dialog: normal close if user presses Esc

(Electron-Cash/Electron-Cash#890)
3.3.3.1
Mark B Lundeberg 6 years ago
committed by SomberNight
parent
commit
508793b010
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/gui/qt/transaction_dialog.py

4
electrum/gui/qt/transaction_dialog.py

@ -178,6 +178,10 @@ class TxDialog(QDialog, MessageBoxMixin):
except ValueError:
pass # was not in list already
def reject(self):
# Override escape-key to close normally (and invoke closeEvent)
self.close()
def show_qr(self):
text = bfh(str(self.tx))
text = base_encode(text, base=43)

Loading…
Cancel
Save