tqt transaction_dialog: normal close if user presses Esc - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 508793b0101a2840283e21f8dba4390c3dd7624e DIR parent dc1a31d80253df73dc5598cf1a255b31549da611 HTML Author: Mark B Lundeberg <36528214+markblundeberg@users.noreply.github.com> Date: Mon, 8 Oct 2018 15:04:45 -0700 qt transaction_dialog: normal close if user presses Esc (Electron-Cash/Electron-Cash#890) Diffstat: M electrum/gui/qt/transaction_dialog… | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/transaction_dialog.py b/electrum/gui/qt/transaction_dialog.py t@@ -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)