electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 508793b0101a2840283e21f8dba4390c3dd7624e
parent dc1a31d80253df73dc5598cf1a255b31549da611
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:
Melectrum/gui/qt/transaction_dialog.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/electrum/gui/qt/transaction_dialog.py b/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)