tset default button in tx detail window - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 877644f7325b8abb585c06b2b2bf77a2a59d4c8f DIR parent e1e129fe30c9d7f2019fbbb55da2db7e79eacbbc HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 24 Sep 2013 17:00:20 +0200 set default button in tx detail window Diffstat: M gui/qt/transaction_dialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -91,7 +91,8 @@ class TxDialog(QDialog): cancelButton = QPushButton(_("Close")) cancelButton.clicked.connect(lambda: self.done(0)) buttons.addWidget(cancelButton) - + cancelButton.setDefault(True) + self.update()