From 877644f7325b8abb585c06b2b2bf77a2a59d4c8f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 24 Sep 2013 17:00:20 +0200 Subject: [PATCH] set default button in tx detail window --- gui/qt/transaction_dialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py index ec184eb40..4574d740c 100644 --- a/gui/qt/transaction_dialog.py +++ b/gui/qt/transaction_dialog.py @@ -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()